*BSD News Article 7158


Return to BSD News archive

Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!spool.mu.edu!umn.edu!noc.msc.net!uc.msc.edu!shamash!runyon.cim.cdc.com!pbd
From: pbd@runyon.cim.cdc.com (Paul Dokas)
Newsgroups: comp.unix.bsd
Subject: Re: virtual memory exhausted
Message-ID: <49040@shamash.cdc.com>
Date: 28 Oct 92 15:11:46 GMT
References: <3967@bcstec.ca.boeing.com> <root.720229181@kiel.UUCP>
Sender: usenet@shamash.cdc.com
Organization: ICEM Systems, Inc.
Lines: 26

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.
|> 
|> there's hard limits in  /sys/i386/include/vmparam.h for max text size
|> of programs. i changed them (and the default max data size) to 8 meg.
|> (don't know, whether this breaks anything, tho. but my compiles now work).
[ kernel patch deleted ]

I also ran into the 'virtual memory exhausted' message when compiling X11R5
(I have 8MB memory with 45MB swap)  The solution was to increase my limits.
Instead of patching your kernel, try 'limit memoryuse unlimited'.  You might
find that it's a simpler fix.
-- 
#include <std.disclaimer>
#define FULL_NAME                          "Paul Dokas"
#define EMAIL                              "pbd@runyon.cim.cdc.com"
/* we are realizing infinite possibilities in exchange for our soul */