*BSD News Article 7450


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!spool.mu.edu!uunet!ogicse!psgrain!ee.und.ac.za!shrike.und.ac.za!casper.cs.uct.ac.za!gimli!root
From: root@gimli.cs.uct.ac.za (Sandi Donno)
Newsgroups: comp.unix.bsd
Subject: Re: virtual memory exhausted
Message-ID: <sandi.720955101@gimli>
Date: 5 Nov 92 09:18:21 GMT
Article-I.D.: gimli.sandi.720955101
References: <3967@bcstec.ca.boeing.com> <root.720229181@kiel.UUCP> <49040@shamash.cdc.com> <wiljo.720428350@kiel.UUCP>
Sender: news@casper.cs.uct.ac.za (news)
Organization: Computer Science Department, University of Cape Town
Lines: 29

In <wiljo.720428350@kiel.UUCP> wiljo@kiel.uucp (Wiljo Heinen) writes:

>pbd@runyon.cim.cdc.com (Paul Dokas) writes:

>>In article <root.720229181@kiel.UUCP>, wiljo@kiel.uucp (Wiljo Heinen) writes:
>>|> 
>>|> rjw9917@bcstec.ca.boeing.com (Robert J. Willard) writes:
>>|> 
>>|> >I've gotten the 'virtual memory exhausted message' when
>>|> >compiling some programs with large include files lateley.
>>|> >I've got 8 Meg RAM and the standard 5 Meg (I think) swap.
>>|> >Does anyone know if increasing my swap space will alleviate
>>|> >this problem?
>>|> 
>>|> nope. it will not. i ran into the same problem with 20 Meg swap.
>>|> 
>>[ kernel patch deleted ]

>>Instead of patching your kernel, try 'limit memoryuse unlimited'.  You might
>>find that it's a simpler fix.

Be careful! I tried this on my 4MB system, to see if I could get past a
compile problem. My system hung, and the filesystem was trashed after
rebooting.
--
Sandi Donno
Computer Science
University of Cape Town
South Africa