Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Mar 2000 17:51:20 -0800
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Joe McGuckin <joe@via.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: Is swap space ever reclaimed?
Message-ID:  <20000322175120.G21029@fw.wintelcom.net>
In-Reply-To: <200003230006.QAA90221@monk.via.net>; from joe@via.net on Wed, Mar 22, 2000 at 04:06:59PM -0800
References:  <200003230006.QAA90221@monk.via.net>

next in thread | previous in thread | raw e-mail | index | archive | help
* Joe McGuckin <joe@via.net> [000322 16:39] wrote:
> 
> I wrote a quick program to allocate a bunch of memory (and write to every page)
> and then the process exits.
> 
> pstat shows the swap space growing, but after the test program terminates,
> pstat still shows the swap space as allocated.
> 
> Will freebsd ever reclaim unused, previously allocated swap space?

Of course, the reason you still see swap allocated is that _your_
program forced _other_ programs out of memory, pages of thiers are
still in swap.

-- 
-Alfred Perlstein - [bright@wintelcom.net|alfred@freebsd.org]


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000322175120.G21029>