[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-user
Subject: [gentoo-user] Re: Out of memory during GCC compile
From: Nikos Chantziaras <realnc () arcor ! de>
Date: 2012-02-06 21:44:53
Message-ID: jgphkr$3d4$1 () dough ! gmane ! org
[Download RAW message or body]
On 06/02/12 23:33, Grant wrote:
> I'm trying to compile GCC on a remote system with 192MB RAM. It's
> completed successfully before but now it uses up all RAM. The compile
> doesn't stop but it must be thrashing. I have MAKEOPTS="-j1" in
> /etc/make.conf. Am I jeopardizing my HD by letting it swap on the
> compile right now? I've ordered an upgrade to the max of 512MB. I've
> stopped all processes using up memory that I don't need including X.
> Is there anything else I can do to get through the compile with 192MB
> RAM?
Lowering optimization helps a lot (CFLAGS in make.conf). For example
-O1 or -Os instead of the standard -O2.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic