🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #626

Re: Virtual memory devours my disk

#626
From: Andrew Loewenstern
Date: Fri, 10 Apr 1992 05:22
30 lines
1724 bytes
In article <FOX.92Apr8102030@graphics.nyu.edu> fox@cs.nyu.edu (David Fox)  
writes:

>  I set hiwat and it had absolutely no effect.  Even if hiwat did
>  work, the tiny difference between NeXT and Sun is that the Sun
>  will release the swap space once it is finished.  The NeXT just
>  fills up the space available and then dies.
>  
>  -david


No it doesn't.  Although NeXTstep doesn't physically make the swapfile smaller  
it does reuse the space within it:

Filesystem            kbytes    used   avail capacity  Mounted on
/dev/sd1a              98442   97172       0   104%    /private/vm/swapdisk

This is my swapdisk.  It has been like this for several days and I've been  
using tons of vm since then (I can hear the drive grind away when I use vm).   
If what you said was correct, my machine would have gone down in flames a long  
time ago.  Although the swapfile itself is huge, there is lots of free space in  
it.  Even if hiwat worked, what is the poor computer supposed to do when it  
runs out of memory?  It could die a little bit more gracefully though.


andrew
-- 
andrew@cubetech.com
Andrew Loewenstern            |  "listen: there's a hell of a good universe
Cube Technologies, Inc.       |   next door; let's go." --- e.e. cummings
Technical Details
Message-ID: <1992Apr10.052219.5103@cubetech.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!psinntp!psinntp!cubetech.com!imladris!andrew
References: <FOX.92Apr8102030@graphics.nyu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!olivea!sgigate!psinntp!psinntp!cubetech.com!imladris!andrew
From: andrew@cubetech.com (Andrew Loewenstern)
Newsgroups: comp.sys.next.programmer
Subject: Re: Virtual memory devours my disk
Message-ID: <1992Apr10.052219.5103@cubetech.com>
Date: 10 Apr 92 05:22:19 GMT
References: <FOX.92Apr8102030@graphics.nyu.edu>
Sender: andrew@cubetech.com (Andrew Loewenstern)
Reply-To: andrew@cubetech.com
Lines: 30