LWN.net Logo

Memory footprint

Memory footprint

Posted Jun 15, 2006 19:59 UTC (Thu) by landley (guest, #6789)
In reply to: Memory footprint by JoeBuck
Parent article: Live CDs Part II: Desktop Replacements

If you "cat /proc/meminfo", the first few lines are:

MemTotal: 516228 kB
MemFree: 51432 kB
Buffers: 19104 kB
Cached: 133532 kB
SwapCached: 131464 kB

In my case, I have a total of 516 megabytes of memory (after the kernel's
had its bite, and yes it's a decimal megabytes from binary kilobytes. I
don't care).

Of this 51 megs isn't used for anything, and 131 megs is sitting in swap
(although since I've suspended the system to disk since booting, both are
kinda expected).

About 150 megs (buffers+cached) are used for filesystem cache. That's the
amount that your apps aren't really using, and the number you might want
to subtract from the total when coming up with how much memory is really
in use by your apps.

I'd estimate I easily have over 100 open windows/tabs in my six desktops
at the moment, by the way...

Rob


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds