*BSD News Article 4234


Return to BSD News archive

Path: sserve!manuel!munnari.oz.au!mips!decwrl!olivea!uunet!mcsun!Germany.EU.net!olymp!boss1!juengst
From: juengst@boss1.physik.uni-bonn.de (Henry G. Juengst)
Newsgroups: comp.unix.bsd
Subject: Re: [386bsd] Virtual memory exhausted. Do I need more swap?
Message-ID: <1992Aug28.190748.11004@olymp.informatik.uni-bonn.de>
Date: 28 Aug 92 19:07:48 GMT
References: <david.714981284@mlb.geomechanics.csiro.au>
Sender: juengst@boss1 (Henry G. Juengst)
Organization: Universit"at Bonn, Informatikinstitut, R"omerstr 154, W-5300 Bonn 1
Lines: 30

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??
> 
> Thanks.
> 
> --
> David Le Blanc                         :
> Email: david@mlb.geomechanics.csiro.au : `Sort of a cross between a Jaguar
> CSIRO Division of Geomechanics,	       :  and a freight train.' the Alien
> P.O. Box 54 Mt Waverley 3149	       : in Alien^3.

I'm sure it's a limit problem. Use csh to set 'ulimit -h' (as root) and
'ulimit' or 'limit -h' / 'limit' to set a acceptable limit. Then start your
make again (as child process of the csh process).

This is a problem you will also find, if you try to start a XWindows program
which needs large resources. Your application fails, but the reason is
because your X (X386) was started with small limits.

Henry

-- 
juengst@boss1.physik.uni-bonn.de [131.220.221.30]
juengst@saph2.physik.uni-bonn.de [131.220.221.12]
juengst@pib1.physik.uni-bonn.de  [131.220.221.2] (strange particle)

I'm only speaking for myself, but not for anybody else !