[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-user
Subject: Re: [gentoo-user] Out of memory during GCC compile
From: Robert David <robert.david.public () gmail ! com>
Date: 2012-02-06 22:01:24
Message-ID: 20120206230124.1d77676a () gmail ! com
[Download RAW message or body]
V Mon, 6 Feb 2012 13:33:21 -0800
Grant <emailgrant@gmail.com> napsáno:
> 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?
>
> - Grant
>
If you use -pipe as CFLAG remove it.
If not just try lower flags as mentioned (-O0).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic