Subject: Re: large files seem to fill up ram
To: David Wetzel <dave@turbocat.de>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-help
Date: 12/11/2002 22:48:09
On Wed, Dec 11, 2002 at 06:29:09PM +0100, David Wetzel wrote:
> hi folks,
> 
> I tried to copy a 600 MB file to my Apple (Running mac OS X 10.2.2) via NFS.
> But that seemed to fill ram on my NFS server (i386, NetBSD 1.6).
> Then I tried ftp. Same effect.
> 
> to get what I see, use top in one shell and do
> cat out1.avi | wc -c
> in another.
> 
> that big file cache is taking too much memory:
> 
> Memory: 224M Act, 115M Inact, 228K Wired, 9132K Exec, 296M File, 5828K Free
> Swap: 499M Total, 499M Free
> 
> This even happens with softdep off.
> 
> any ideas?

This is normal. As long as there is free ram, it will be used as cache.
This space should be reclaimed as soon as something else needs the RAM.

-- 
Manuel Bouyer <bouyer@antioche.eu.org>
     NetBSD: 23 ans d'experience feront toujours la difference
--