Mailinglist Archive: opensuse (2702 mails)
| < Previous | Next > |
Re: [SuSE Linux] Where did my memory go?
- From: bcr@xxxxxxxxxxx (Bill C. Riemers)
- Date: Thu, 17 Jun 1999 12:03:48 -0400
- Message-id: <37691C64.9307C7F3@xxxxxxxxxxx>
Georges-Henry Portrait wrote:
>
> Hi,
>
> I ran accross this "problem" when I had 64 mb. Now I added a 128 MB so now I
> have 196 Mb of RAM. but when I check mem use Linux use 170 but 20 MB are
> free. I thought that unused memory was wasted memory :) How comes those 20 Mb
> are still marked as free ??
>
> Thanks for nay tip/help/clue
>
> GH Portefait
There is a limit to the effectiveness of caching. If data isn't occasionally synced
to disk, it becomes useless. And if it has changed on disk, there is no point keeping
the obsolete data in memory, or taking the IO time to read the updated data until it
is actually needed. Also, each time a process exits, it free's memory. Unless you
are doing a lot of disk activity that memory won't be free instantly. As a final
consideration, the caching algorithms are designed to try and maintain a certain
amount of water level, for optimal response time.
With all of these considerations, I wouldn't be concerned about your "wasted" memory.
But if you are still concerned, I can send you programs to eat your memory pretty
quickly. (e.g. There is a reason I keep 1 GB swap on my home computer.)
Bill
--
To get out of this list, please send email to majordomo@xxxxxxxx with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at <A HREF="http://www.suse.com/Support/Doku/FAQ/"><A HREF="http://www.suse.com/Support/Doku/FAQ/</A">http://www.suse.com/Support/Doku/FAQ/</A</A>> and the
archive at <A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html"><A HREF="http://www.suse.com/Mailinglists/suse-linux-e/index.html</A">http://www.suse.com/Mailinglists/suse-linux-e/index.html</A</A>>
| < Previous | Next > |