Subject: Re: virtual memory exhausted
To: None <thorpej@nas.nasa.gov>
From: Mark Willey <willeyma@expert.cc.purdue.edu>
List: port-i386
Date: 07/04/1996 23:44:02
Jason Thorpe writes:
> 
> On Sun, 30 Jun 1996 07:29:04 -0700 (PDT) 
>  ikhala@netcom.com (I'Khala) wrote:
> 
>  > 	building standard compat library
>  > 	ld -X -z -T F8100000 -o netbsd -e start ${SYSTEM_OBJ} vers.o
>  > 	ld: virtual memory exhausted
>  > 	*** Error code 1
>  > 
>  > 	Stop.
> 
> Your shell is enforcing an insufficient resource limit on the amount of 
> memory you can use.  You may want to unlimit memoryuse, datasize, etc. 
> Also, I seem to recall that there is some relationship between "maxusers" 
> and the default resource limits, but I forget exactly what they are ...

I am having this problem now too, when building a huge kernel.  The
maxusers on the kernel I am using (to try to get around this) is 999!  So,
I can't imagine that's it.  I've even tried setting the value of some
things in /src/sys/conf/param.h directly, but can't figure out which one to
change.  The ones that look like they depend on maxusers don't seem to
address this particular problem.  I'm probably looking at the wrong place.

I don't think it's my shell because I'm running ksh.

Mark