Subject: Re: egcs problem on m68k with -m68060
To: Frederick Bruckman <fredb@fb.sa.enteract.com>
From: Simon Burge <simonb@telstra.com.au>
List: current-users
Date: 04/18/1998 21:59:19
On Sat, 18 Apr 1998 01:46:19 -0500 (CDT)  Frederick Bruckman wrote:

> On problem I have when compiling libc is that "make" often runs out of
> memory, at some point after sucking up nearly half of my 36M of real
> memory as viewed with `ps -orss,vsz,command'. I set up a spare disk as a
> whopping 500M swap partition, just to see if that would make a difference,
> but it doesn't. It will pick up where it left off, more or less, if I set
> UPDATE=1, and then go to completion. My ulimit is unlimited. "make" seems
> to come up against some hard limit imposed by the kernel. Isn't 36M
> supposed to be enough to build the tree? Any ideas?

You're probably running in to per-process limits.  It sounds like
you're using sh.  The sh ulimit command talks about file sizes by
default.  Try a 'ulimit -H -a', then a 'ulimit -d <maxdatasize>'
or 'ulimit -s <maxstacksize>' (or both).  The man page for sh is
helpful here.

Simon.