[Clfs-support] GCC memory exhaustion

Hugo Villeneuve hugo at hugovil.com
Fri Jul 31 10:09:29 PDT 2009


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.



More information about the Clfs-support mailing list