Re: Virtual Memory Exhausted in compilation GNOME2

From: Dan Nelson <dnelson_at_allantgroup.com>
Date: Fri, 19 Aug 2005 09:57:05 -0500
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.

-- 
	Dan Nelson
	dnelson_at_allantgroup.com
Received on Fri Aug 19 2005 - 12:57:07 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:41 UTC