From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.60)
	(envelope-from <gentoo-user+bounces-47575-garchives=archives.gentoo.org@gentoo.org>)
	id 1G7KfL-0004Vx-L6
	for garchives@archives.gentoo.org; Sun, 30 Jul 2006 23:25:48 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k6UNMGne005189;
	Sun, 30 Jul 2006 23:22:16 GMT
Received: from ms-smtp-03.southeast.rr.com (ms-smtp-03.southeast.rr.com [24.25.9.102])
	by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k6UNIdNB021982
	for <gentoo-user@lists.gentoo.org>; Sun, 30 Jul 2006 23:18:39 GMT
Received: from [10.20.31.251] (cpe-066-057-226-032.nc.res.rr.com [66.57.226.32])
	by ms-smtp-03.southeast.rr.com (8.13.6/8.13.6) with ESMTP id k6UNIblL011866
	for <gentoo-user@lists.gentoo.org>; Sun, 30 Jul 2006 19:18:38 -0400 (EDT)
Message-ID: <44CD4BF2.70902@electronsweatshop.com>
Date: Sun, 30 Jul 2006 19:16:50 -0500
From: Randy Barlow <randy@electronsweatshop.com>
User-Agent: Thunderbird 1.5.0.4 (X11/20060628)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] OO Build Failed
References: <44CA5BF9.2070308@electronsweatshop.com>	 <20060728180749.GB6203@nibiru.local>	 <44CAE18C.5030400@electronsweatshop.com>	 <7573e9640607282037h457dd100wb175e77c70be582e@mail.gmail.com>	 <44CD1D2C.4040700@electronsweatshop.com> <7573e9640607301516r3655f0bbk5823534cfc60c5f3@mail.gmail.com>
In-Reply-To: <7573e9640607301516r3655f0bbk5823534cfc60c5f3@mail.gmail.com>
X-Enigmail-Version: 0.94.0.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Virus-Scanned: Symantec AntiVirus Scan Engine
X-Archives-Salt: 9ecd62bf-660c-47c9-b969-9c30f9c0cb0a
X-Archives-Hash: 9868020bbbd396c5bd914384fa9ea30b

Richard Fish wrote:
> BTW, -O3 uses *a lot* more ram to compile compared to -O2.  Indeed,
> gcc will sometimes take 200-500MB of RAM to compile a single C++
> module.  So combined with MAKEOPTS=-j2, and only 512MB of RAM total,
> yeah, I think you ran out of memory.
> 
> In fact, you may want to drop to MAKEOPTS=-j1 permanently.  Swapping
> is simply not something you want to do when compiling...it is too damn
> slow.  If you run so many jobs that some get pushed to swap, it would
> be far faster to run one job at a time without swapping!

Thanks for the advice Richard!

R
-- 
gentoo-user@gentoo.org mailing list