From owner-freebsd-current@FreeBSD.ORG Fri Aug 19 14:57:07 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 D0A4C16A41F for ; Fri, 19 Aug 2005 14:57:07 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5207C43D45 for ; Fri, 19 Aug 2005 14:57:07 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j7JEv5WT095928; Fri, 19 Aug 2005 09:57:05 -0500 (CDT) (envelope-from dan) Date: Fri, 19 Aug 2005 09:57:05 -0500 From: Dan Nelson To: Vladimir Dvorak Message-ID: <20050819145705.GE60291@dan.emsphone.com> References: <4305AAB9.7030104@vdsoft.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4305AAB9.7030104@vdsoft.org> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i 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: Fri, 19 Aug 2005 14:57:07 -0000 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@allantgroup.com