It is currently Wed, 27 Aug 2014 01:48:45 GMT



 
Author Message
 memory management
I have a general question about memory management - I can't figure out
what is using 80% of my memory when nothing is running  (aside from X
and wmaker).  I have 64 Mb RAM.  When I logon, X and wmaker use about
21K.  After I run a few applications (netscape, gimp, etc.), even after
I've quit the applications, the free memory does not return to where is
started.  I use "top" to show what's running.  I've added up the column
for %mem used - it comes to about 40%, but 80% of the memory is consider
"used".

What gives?  It doens't go into swap when I start new applications, so
should I just pay no attention to it?

Any advice would be appreciated.

Thanks

Dan Naughton



 Sat, 25 Aug 2001 03:00:00 GMT   
 memory management
Tue, 09 Mar 1999 15:14:39 +0000 -- Daniel Naughton <dnaugh...@mediaone.net>:
-> I have a general question about memory management - I can't figure out
-> what is using 80% of my memory when nothing is running  (aside from X
-> and wmaker).  I have 64 Mb RAM.  When I logon, X and wmaker use about
-> 21K.  After I run a few applications (netscape, gimp, etc.), even after
-> I've quit the applications, the free memory does not return to where is
-> started.  I use "top" to show what's running.  I've added up the column
-> for %mem used - it comes to about 40%, but 80% of the memory is consider
-> "used".
->
-> What gives?  It doens't go into swap when I start new applications, so
-> should I just pay no attention to it?

Relax, you're not using Windows anymore!

There was recently a discussion about this, but...

Linux does The Right Thing (tm) by using as much of your memory as possible.
This generally makes your system seem even faster than it is, and makes sure
you use the memory you paid for.  That memory is freed when you actually need
it (say, to run a program), so you don't even notice.

What good would it be if you only used all of your ram once a week?

Try running the 'free' program for a little more info.

Also note that top doesn't show all running programs (at least not on my
machine) it only has so much space.

-> Any advice would be appreciated.

Rejoice!

-> Thanks

HTH!

-> Dan Naughton

--Matthew



 Sun, 26 Aug 2001 03:00:00 GMT   
 memory management

-> started.  I use "top" to show what's running.  I've added up the column
-> for %mem used - it comes to about 40%, but 80% of the memory is consider
-> "used".
->
-> What gives?  It doens't go into swap when I start new applications, so
-> should I just pay no attention to it?

Linux will use all available memory for disk cache.  As you use the
disk, the blocks read get chached in RAM.  This improves performance
and actually uses the memory you paid so much money for.

So, don't worry about it.  If an application needs more memory, it
will be made available.

--
David Steuber
http://www.david-steuber.com
s/trashcan/david/ to reply by mail

Where was it you said you wanted to go today?  Sorry, you can't get
there from here.



 Sun, 26 Aug 2001 03:00:00 GMT   
 
   [ 3 post ] 

Similar Threads

1. unix, linix memory management v/s windows95 memory management

2. Memory Management

3. Tweaking memory management

4. Tiny question about zones and memory management...

5. Memory management on Sun Solaris

6. Memory management in PAM authenticators and modules

7. Memory management/File IO related problem.

8. Solaris Virtual Memory Management

9. Memory management and swap size

10. memory management issue


 
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software