LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Losing Memory Somehow?!? (https://www.linuxquestions.org/questions/linux-general-1/losing-memory-somehow-257888/)

mdreeling 11-22-2004 04:55 AM

Losing Memory Somehow?!?
 
Hi Guys,
Running Mandrake 10/2GB/3.0Ghz...
When i reboot the box, it uses 500MB when everything is started.

If i run "top", my 2GB of memory dissapears about 200k at a time until i'm into my swap space (over about 3 days)

Maybe one of the programs i'm running has a memory leak...
Any ideas on how i can find out which one? or any other advice?

Thanks in advance!
Michael

rjlee 11-22-2004 05:16 AM

This is more likely to be a hardware caching issue than a memory leak problem.

See here: http://www.linuxquestions.org/questi...hreadid=253226 or search the forums for the word "swappiness".

Basically, your system is only swapping out pages that it has in memory but isn't using (eg. for a daemon service that never gets called), in order to use more RAM for hardware caching. There is no performance penalty for this, except a possible latency issue for re-loading the swapped pages. You can stop it from swapping data out to make room for caching (with the swappiness file) if you like.

mdreeling 11-24-2004 03:43 AM

Thanks Rj,
I'll keep an eye on it.
Thanks
Michael


All times are GMT -5. The time now is 10:22 PM.