Subject: Re: compiler woes on powerpc
To: David Edelsohn <dje@watson.ibm.com>
From: Cherry G. Mathew <cherry.g.mathew@gmail.com>
List: tech-toolchain
Date: 07/18/2006 18:28:13
On 7/17/06, David Edelsohn <dje@watson.ibm.com> wrote:
> >>>>> Tim Rightnour writes:
>
> Tim> out of memory allocating 250000 bytes after a total of 134102464 bytes
>
> Tim> Is that not enough ram to build gcc anymore?  It seems a bit excessive.
>
>         There are lots of holes in the address space.  This usually means
> that you have process resource limits set too low.
>

sysctl -w proc.$PID.rlimit.datasize.soft=300000000

seems to do the trick for me. I have about 640Megs RAM, so there's not
much thrashing.

Thanks,

-- 
~Cherry