Virtual Memory Exhausted in compilation GNOME2

Vladimir Dvorak dvorakv at
Fri Aug 19 09:47:22 GMT 2005

Hello to all,

I have problem installing Gnome2 from ports collestion.

--- cut ---
 cc -DHAVE_CONFIG_H -I. -I. -I.. -I..
-I/usr/local/include -DXTHREADS -DXUSE_MTSAFE_API
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/atk-1.0 -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/lib/gtk-2.0/include -I/usr/X11R6/include
-I/usr/X11R6/include/pango-1.0 -I/usr/local/include/freetype2
-I/usr/local/include -DORBIT2=1 -D_REENTRANT -DXTHREADS
-DXUSE_MTSAFE_API -I/usr/local/include/libart-2.0
-I/usr/local/include/glib-2.0 -I/usr/local/lib/glib-2.0/include
-I/usr/local/include/orbit-2.0 -I/usr/local/include/libbonobo-2.0
-I/usr/local/include/bonobo-activation-2.0 -I/usr/local/include/atk-1.0
-I/usr/local/include/libxml2 -I/usr/local/include
-I/usr/X11R6/include/libgnomeui-2.0 -I/usr/X11R6/include/libgnome-2.0
-I/usr/X11R6/include/libgnomecanvas-2.0 -I/usr/X11R6/include/gtk-2.0
-I/usr/X11R6/include/gconf/2 -I/usr/X11R6/include/libbonoboui-2.0
-I/usr/X11R6/lib/gnome-vfs-2.0/include -I/usr/X11R6/include/pango-1.0
-I/usr/X11R6/include -I/usr/local/include/freetype2
-I/usr/X11R6/lib/gtk-2.0/include -O2 -fno-strict-aliasing -pipe -MT
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

---cut ---

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%

But problem still remains! :-( And now I am out of idea, what to do. Is
there some trick how to correct or workaround this problem and install
Gucharmap (in which problem occurs ) ?

Thank you very much!

P.S. My architecture is: AMD64(CPU Athlon64XP), FreeBSD  6.0-BETA2
FreeBSD 6.0-BETA2 with custom kernel.


More information about the freebsd-current mailing list