linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Memory usage of a process
@ 2009-07-10  9:08 Günter Leonhardt
  2009-07-11 10:05 ` Nicholas Mc Guire
  0 siblings, 1 reply; 2+ messages in thread
From: Günter Leonhardt @ 2009-07-10  9:08 UTC (permalink / raw)
  To: linuxppc-dev

=20
Hello,
analysing the memory usage of a process, I found some questions.
I'am using a system with 128 MB physical RAM, no disk, 2.6.27 kernel.

Running top, I see 38 MB in use, 90 MB free, but a VSZ for my process of =
158 MB.
Looking at /proc/<pid>/maps, I see that the process uses 140 MB without =
shared libs.

So how it is possible that the process can allocate more memory than =
there is, without posibility of swapping?

Why said top that 90 MB free? Does the kernel serve the allocation only =
if ist really used?

G=FCnter

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-07-11 10:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-10  9:08 Memory usage of a process Günter Leonhardt
2009-07-11 10:05 ` Nicholas Mc Guire

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).