[Voyage-linux] will my application fit?
Ben Kochie
(spam-protected)
Fri Mar 20 06:36:15 HKT 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
51 MB, the way linux uses memory is a bit more complicated than you might
think. There are many different ways memory can be "used". The Linux
kernel allocates as much ram as it can to "pagecache". This is what
caches reads and writes to disk (for the most part). This makes it very
fast and use the disk IO less often.
Program memory use is also complicated by the fact that memory can be
shared between applications in a number of ways, mostly through
shared libraries.
- -ben
"UNIX is user-friendly, it's just picky about its friends."
On Thu, 19 Mar 2009, Jeff Ramin wrote:
>
> Yes the buffers line from free -m shows the amount of memory used.
> voyage:~# free -m
> total used free shared buffers cached
> Mem: 123 116 7 0 0 43
>
> -/+ buffers/cache: 72 51
> Swap: 0 0 0
> --------------------------------------------------------------------
> Thanks Sam!
> Just to be perfectly clear - given your example above, does
>
> the system currently have 51 MB free, or 58 MB (51 + 7) free?
>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFJwsjhfYg2asD844oRAlWGAJ42wWJT7HI3TpQnzqrqWWwdRu0togCdGaKk
kPLKfG1zP9DDVmDuDWkyAXY=
=7Wup
-----END PGP SIGNATURE-----
More information about the Voyage-linux
mailing list