Skip to contentSkip to conversation

Memory usage

DISCUSSION Adam Luchjenbroers 3 participants 3 messages Apr 14, 2003 – Apr 15, 2003

lore
Share & tools
lore
#0 lore raw

OS: Linux Mandrake 9.0
Kernel: 2.4.20
Soltek SL-75DRV5
512MB DDR
Althon XP2100+

I'm noticing memory usage that I cannot trace back to a process - alot of it too. I use top and the "M" command to list programs by memory usage - but what I see with it (or using other system monitoring tools) are only a few processes and none that can explain the memory usage.

Even dropping down to runlevel 1 still displays RAM usage in excess of 300MB. Maybe I've still got alot to spare but I still want to fix this problem - currently running BlackBox under X (I use some KDE apps, but even after killing off all kdeinit processes the memory usage stays high).

So, what would be the cause of this mysterious memory usage?

Signature · 12 lines
"taking advice on what the GPL means from Microsoft is like taking Stalin's 
word on the meaning of the US Constitution." - Eben Moglen

Please avoid sending me Word or PowerPoint attachments.
See http://www.fsf.org/philosophy/no-word-attachments.html


-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs
#1 lore raw

Where are you "noticing" this memory usage? If it is in the "Mem:" line in top, probably all you are seeing is the kernel's use of RAM as cache and buffer. In slightly simplified form, when a process finishes running, or a file closes, the kernel leaves it in memory **if** it does not need that memorr for something else. (This way, it can run or open faster if called again.)

As a result, *any* Linux system will over time approach 100% memory usage as reported by this measure. If you want to check use of RAM by active processes, run "free" and look at the second line of its report.

If you are "noticing" this problem somewhere else, please post a followup that describes what you are seeing a bit more exactly.

Quoted 11 lines · Adam Luchjenbroers

OS: Linux Mandrake 9.0
Kernel: 2.4.20
Soltek SL-75DRV5
512MB DDR
Althon XP2100+

I'm noticing memory usage that I cannot trace back to a process - alot of it too. I use top and the "M" command to list programs by memory usage - but what I see with it (or using other system monitoring tools) are only a few processes and none that can explain the memory usage.

Quoted 6 lines

Even dropping down to runlevel 1 still displays RAM usage in excess of 300MB. Maybe I've still got alot to spare but I still want to fix this problem - currently running BlackBox under X (I use some KDE apps, but even after killing off all kdeinit processes the memory usage stays high).

So, what would be the cause of this mysterious memory usage?

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs

#2 lore raw
In reply to Adam Luchjenbroers

Want to free memory do:

locate /usr/bin/x*

free
total used free
Mem: 223240 145572 77668

locate /usr/bin/x*

free
total used free
Mem: 223240 92752 130488

Regards

Signature · 7 lines
Peter

-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.linux-learn.org/faqs