[Clfs-support] GCC memory exhaustion

Jim Gifford clfs at jg555.com
Fri Jul 31 10:12:31 PDT 2009


Hugo Villeneuve wrote:
> On Fri, 31 Jul 2009 10:08:41 -0700
> Jim Gifford <clfs at jg555.com> wrote:
>
>   
>> Hugo Villeneuve wrote:
>>     
>>> Hi,
>>> I have been trying to compile gcc-4.3.0 in chapter 5 (x86_64 first
>>> pass) without success. The problem is that it eats up all my memory
>>> doing this, causing the host machine to freeze and crash. My host
>>> has 1GB of RAM and 5G of swap.
>>>
>>> I have tried to pass the option "--with-low-memory", but this
>>> doesn't seem to make much difference.
>>>
>>> Anybody have experienced the same behavior?
>>>
>>> Thank-you, Hugo Villeneuve
>>>   
>>>       
>> You have to much swap. Your swap should never exceed your memory. The 
>> rule of thumb, is 2x the amount of RAM, but my philosphy is 1 to 1
>> ration.
>>     
>
> Before this gcc bug I had only 1G of space. 5G is only to try to pass
> this gcc error.
>   
What's the error?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20090731/49e06152/attachment-0001.htm>


More information about the Clfs-support mailing list