From: Wilhelm Meier <wilhelm.meier@fh...> - 2006-12-13 13:26:04
if I use the example fusexmp_fh and do a "ls -lR" I get a constantl growing
virtual memory size of the process!
Is the example broken to some respect?
> if I use the example fusexmp_fh and do a "ls -lR" I get a constantl growing
> virtual memory size of the process!
> Is the example broken to some respect?
Checking with valgrind doesn't show up any memory leaks. It's
probably has to do with the inode/dentry caches in kernel: the library
keeps info around for inodes until the kernel keeps them in _its_
caches, but when the kernel starts to clean up caches due to lack of
memory then the library will clean up its cache as well.
So growing memory useage by the example filesystem probably just
means, that you have lot's of free memory in the machine ;)