*BSD News Article 4221


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!mips!mips!darwin.sura.net!haven.umd.edu!uunet!mcsun!sunic!corax.udac.uu.se!astro.uu.se!goran
From: goran@astro.uu.se (Goran Hammarback)
Subject: Re: [386bsd] Virtual memory exhausted. Do I need more swap?
Message-ID: <1992Aug28.124024.10483@corax.udac.uu.se>
Sender: goran@solaris.astro.uu.se (Goran Hammarback)
Organization: UDAC, Uppsala, Sweden
References:  <david.714981284@mlb.geomechanics.csiro.au>
Date: Fri, 28 Aug 1992 12:40:24 GMT
Lines: 24

In article <david.714981284@mlb.geomechanics.csiro.au>, david@mlb.geomechanics.csiro.au (David Le Blanc) writes:
|> When compiling some programs with GCC, I get the message 'virtual memory
|> exhausted'. I have 40Meg virtual memory, so I am sure that is not the problem.
|> 
|> Is there a setting with GCC which I should raise or what??

You have probably encountered a software limit on memory.

In csh (maybe also in the other shells, but I use csh (well, actually
tcsh 8-) )) there is command named limit.  I'm not at my 386BSD computer
now, so I'm not sure of the names,  but do limit and look for things that
may be called: stacksize, datasize, and memoryuse. 
Increase these values as wanted.

-- 

Goran

------------------------------+---------------------------------
Goran Hammarback              |     goran@astro.uu.se
Astronomiska Observatoriet    |
Uppsala Universitet           |
S-751 20 SWEDEN               |
------------------------------+---------------------------------