Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!news.maxwell.syr.edu!EU.net!Ireland.EU.net!maths.tcd.ie!not-for-mail From: dwmalone@maths.tcd.ie (David Malone) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: 2.2 GAMMA 2/5 results in SWAP FULL? Date: 14 Feb 1997 03:28:49 -0000 Organization: Dept. of Maths, Trinity College, Dublin, Ireland. Lines: 27 Sender: mathnews@synge.maths.tcd.ie Message-ID: <5e0m5h$49v@synge.maths.tcd.ie> References: <m267zzxceb.fsf@golfgod.raleigh.ibm.com> <5dvgb2$10b2@rtpnews.raleigh.ibm.com> <33038055.22A2@ix.netcom.com> <3303CA19.2781E494@alphaque.com> NNTP-Posting-Host: synge.maths.tcd.ie Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35486 Dinesh Nair <dinesh@alphaque.com> writes: >> the program calls malloc(). The memory is not returned until the >> program exits. >and this explains the strange "memory leak" i've noticed in keeping >netscape running for over eight hours at a stretch. ;) I thought this had been changed at some stage, but maybe I'm wrong. >but seriously folks, is there any method of tweaking this other than >fiddling with source ? for eg, could i set limits on swapout and how >long a page stays unused before it pages out ? basically, i've no >problem with the default, but for some lightly loaded machines (like >this one on my desktop now), i'd love to keep processes in RAM to >prevent slow page-ins from an IDE. Well - it keeps two copied of the page. One in RAM and one on the disk. If it needs a page of RAM and one isn't available it will use the one it has pre-pages out to the disk ( so there is no need to page-out when more memory is required ). If the page remains unused by anything else you have running it will, when needed be used again without a page in. ( Or this is how I understand the situaltion ). David.