----- Original Message ----
> From: Miklos Szeredi <miklos@...>
> To: byaarov@...
> Cc: fuse-devel@...
> Sent: Sunday, April 13, 2008 1:22:04 PM
> Subject: Re: [fuse-devel] data sitting in cache
> I have a fuse kernel module that I use quite heavily with quite some load.
> After a while, my box runs low on memory and starts swapping.
> > Running top says my program is not using a lot of memory
> > I have used valgrind to verify that there is no mem leak
> > Also, the memory usage by my process itself says constant.
> > Other tools report that the memory is sitting around in kernel cache.
> The kernel cache is managed by the kernel, so this basically has
> nothing to do with fuse.
> Try this to reduce the tendency of the kernel to swap out pages in
> favor of the cache:
> echo 0 > /proc/sys/vm/swappiness
Thank You Miklos. How long will the kernel keep the cache memory around? What if another program wants memory... will the kernel release the cache?
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
Get latest updates about Open Source Projects, Conferences and News.