Re: Why is a perl script 'sleep 100' uses 100 MEGS of RAM



On 2007-11-30, Joost Diepenmaat <joost@xxxxxxxxx> wrote:
On Fri, 30 Nov 2007 09:25:55 -0800, smallpond wrote:
Neither VSZ nor RSZ mean much. VSZ corresponds to no practical limit on
a 64-bit system, and RSZ includes all linked shared libraries that
are currently resident.

Can you or anyone else tell me where to find more information about how
to interpret a processes' virtual memory stats as given by top or ps on
linux (and/or other unix-like systems). This has been bugging me for
quite a while now.

man ps

s size memory size in kilobytes

i

A good explanation on why they're useless (as you claim) would also be
good. I'm just trying to figure out what's what.

ps: my ps manual claims that -vsz memory is reported in 1Kb blocks (not
4k blocks as you stated)

Joost.
.