| qazmlp 2004-11-25, 5:53 pm |
| Casper H.S. Dik <Casper.Dik@Sun.COM> wrote in message news:<41a5a30f$0$21106$e4fe514c@news.xs4all.nl>...
> qazmlp1209@rediffmail.com (qazmlp) writes:
>
>
> The working set is the memory actually being used; if at the same
> the SIZE grows, then the program is consuming more and more
> memory; that may indicate a memory leak but it may just as well
> indicate an actual need for memory.
'ps -p <processId> -o rss, vsz, pmem' reports the following.
RSS VSZ %MEM
77592 1022288 2.6
77656 1022288 2.6
77688 1022288 2.6
77704 1022296 2.6
77704 1022296 2.6
77728 1022296 2.6
77728 1022296 2.6
77728 1022296 2.6
77760 1022296 2.6
77768 1022296 2.6
77776 1022296 2.6
As we can see above, RSS keeps increasing, but VSZ remains stable. Can
we conclude here that things are Ok i.e there are no memory leaks?
Apart from that:
The outputs for SZ and '-o vsz' seem to be same, except that, SZ
reports in terms pages and vsz in terms of KB. Am I right?
|