Virtual Memory Exhausted in compilation GNOME2
dvorakv at vdsoft.org
Sun Aug 21 11:54:03 GMT 2005
Dan Nelson wrote:
>In the last episode (Aug 19), Vladimir Dvorak said:
>>I have problem installing Gnome2 from ports collestion.
>>--- cut ---
>> cc -DHAVE_CONFIG_H -I. -I. -I.. -I..
>>gucharmap-unicode-info.lo -MD -MP -MF .deps/gucharmap-unicode-info.Tpo
>>-c gucharmap-unicode-info.c -fPIC -DPIC -o .libs/gucharmap-unicode-info.o
>>virtual memory exhausted: Cannot allocate memory
>>gmake: *** [gucharmap-unicode-info.lo] Error 1
>>I seems that system come out of memory. I added more swap space and
>>now I have really huge amount of memory:
>>devel# swapinfo -h
>>Device 1K-blocks Used Avail Capacity
>>/dev/ad8s1b 494464 23M 483M 5%
>>/dev/md0 307200 1.0M 300M 0%
>>/dev/md1 307200 1.0M 300M 0%
>>/dev/md2 1935360 508K 1.8G 0%
>>Total 3044224 26M 2.9G 1%
>Those md devices aren't swap-backed, are they? :) How much physical
>RAM do you have? I just did a test build of gucharmap on my 5.4
>machine and compiling gucharmap-unicode-info.c took ~80MB of memory
>according to top.
I solved this with CFLAGS turned off.
More information about the freebsd-current