Subject: Re: Good old gcc "virtual memory exhausted"
To: Ignatios Souvatzis <ignatios@theory.cs.uni-bonn.de>
From: Torsten Sadowski <moehl@akaflieg.extern.tu-berlin.de>
List: netbsd-users
Date: 06/13/2002 21:28:24
Hi Ignatios,
could you give me a hint what I have to change in the kernel config?
I could not find anything about limits. My system is a sparc with 
NetBSD 1.5.2.

Torsten


On Thu, 13 Jun 2002, Ignatios Souvatzis wrote:

> Hi Thorsten,
> 
> On Thu, Jun 13, 2002 at 10:20:24AM +0200, Torsten Sadowski wrote:
> 
> > I am just trying to compile opencascade on NetBSD and after some initial
> > hickups everything seemed to run fine. At some point I ran into the
> > "virtual memory exhausted" trap. Using gcc 2.95.3 instead of 2.91 worked
> > for one piece of code but later it failed again. Does it help to increase
> > swap to "huge tracts of land" or is the only solution -O1?
> 
> You'll have to distinguish "virtual memory the machine can handle" and "virtual
> memory a specific user process is allowed to consume".
> 
> The message you see is most probably related to the latter problem, so you'll 
> be able to ease the limit - inside the hard limits set by your system administrator
> when configuring the kernel - with the unlimit command (if you're using (t)csh)
> or the ulimit command (for (k)sh)).
> 
> The exact command is different for the two classes of shells, so please read 
> the respective manual page.
> 
> Regards,
> 	-is
>