Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 21 Aug 2005 11:53:51 +0200
From:      Vladimir Dvorak <dvorakv@vdsoft.org>
To:        Dan Nelson <dnelson@allantgroup.com>
Cc:        freebsd-current@freebsd.org
Subject:   Re: Virtual Memory Exhausted in compilation GNOME2
Message-ID:  <43084F2F.8010509@vdsoft.org>
In-Reply-To: <20050819145705.GE60291@dan.emsphone.com>
References:  <4305AAB9.7030104@vdsoft.org> <20050819145705.GE60291@dan.emsphone.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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[2]: *** [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.

Vladimir



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43084F2F.8010509>