*BSD News Article 89307


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.telstra.net!newsfeed.internetmci.com!news2.jaring.my!news1.jaring.my!ns.iris-card.com.my!not-for-mail
From: Dinesh Nair <dinesh@alphaque.com>
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: 2.2 GAMMA 2/5 results in SWAP FULL?
Date: Fri, 14 Feb 1997 10:12:41 +0800
Organization: Alphaque. Anytime. Anywhere.
Lines: 26
Message-ID: <3303CA19.2781E494@alphaque.com>
References: <m267zzxceb.fsf@golfgod.raleigh.ibm.com> <5dvgb2$10b2@rtpnews.raleigh.ibm.com> <33038055.22A2@ix.netcom.com>
NNTP-Posting-Host: broker.alphaque.com
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Mailer: Mozilla 3.0 (X11; I; FreeBSD 2.1.0-RELEASE i386)
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:35559

Richard Scranton wrote:
> The allocator puts
> the free'd block on a list of allocations to be reused the next time
> 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. ;)

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.

-- 
Regards,                        /\_/\   "All dogs go to heaven."
dinesh@alphaque.com             (0 0)
+=======================----oOO--(_)--OOo----=========================+
|for a in past present future; do                                     |
| for b in clients employers associates relatives neighbours pets; do |
| echo "The opinions here in no way reflect the opinions of my $a $b."|
|done; done                                                           |
+=====================================================================+
http://pgp.ai.mit.edu/htbin/pks-extract-key.pl?op=get&search=0x230096E9