updatedb not releasing memory?
I noticed on my Laptop (X31, 1.4GHZ Pentium M, 1.5GB RAM running Slack 10 with custom 2.6.7 kernel) that when I left it on overnight memory usage was going from around 20MB used to in excess of 200MB used. This is used memory not cache. Total memory usage jumped from 140MB to 769MB, most of it being cache.
After a bit of playing around I figured out that it was the slocate task in /etc/cron.daily. Running /usr/bin/updatedb -c from the command line caused the same jump in memory usage. Looking at my other systems this is the only one that jumps that much, though I suspect updatedb is using around 10MB on my other boxes with a similar setup.
So my questions are:
1 - Might it be that the laptop has windows mounted account for the memory difference?
2 - Why might this memory never get freed? I do not see any tasks that account for the missing memory.