Linux memory usage and swap files

Gareth Westwood gareth at wffsystems.co.uk
Thu Jul 8 16:35:10 PDT 2004


Jason Gurtz wrote:
> On 7/8/2004 10:22, Gareth Westwood wrote:
> 
> 
>>Is there a way to initiate a clear out of memory/swap? I got 512 mb in 
>>this box and it is nearly always round the top 90% mark. I can't believe 
>>that it's all still in use.
> 
> 
> The easiest way to clear swap is to: swapoff && swap on /dev/...

Righty.
> 
> The reason why all your RAM is in use is because the ivory tower says
> that any unused RAM is wasted RAM.  Most of it is probably a cache of
> bits of your file system.  See the link in my previous post for more
> explanation.

Will read up on it, if the ivory tower says so, it must be right
> 
> If you don't like that policy then perhaps you might consider FreeBSD or
> something else.

Nope, sounds good to me (not that I am in a position to argue). Looking 
at FreeBSD is on my list of things to do, but way down there.
> 
> Cheers,
> 
> ~Jason
> 
thanks

-- 
Gareth Westwood



More information about the lfs-chat mailing list