From owner-freebsd-current@FreeBSD.ORG Sun Aug 21 11:54:03 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5E81316A41F for ; Sun, 21 Aug 2005 11:54:03 +0000 (GMT) (envelope-from dvorakv@vdsoft.org) Received: from mail.vdsoft.org (poseidon.vdsoft.org [193.85.147.250]) by mx1.FreeBSD.org (Postfix) with ESMTP id F267F43D45 for ; Sun, 21 Aug 2005 11:54:02 +0000 (GMT) (envelope-from dvorakv@vdsoft.org) Received: from [10.0.0.164] (unknown [10.0.0.164]) by mail.vdsoft.org (Postfix) with ESMTP id 62B4447E011; Sun, 21 Aug 2005 13:53:58 +0200 (CEST) Message-ID: <43084F2F.8010509@vdsoft.org> Date: Sun, 21 Aug 2005 11:53:51 +0200 From: Vladimir Dvorak User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050819) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Dan Nelson References: <4305AAB9.7030104@vdsoft.org> <20050819145705.GE60291@dan.emsphone.com> In-Reply-To: <20050819145705.GE60291@dan.emsphone.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-current@freebsd.org Subject: Re: Virtual Memory Exhausted in compilation GNOME2 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 21 Aug 2005 11:54:03 -0000 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