For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > November 2004 > Reliability of ''pmap <pid> | grep heap' to indicate Memory leaks??









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Reliability of ''pmap <pid> | grep heap' to indicate Memory leaks??
qazmlp

2004-11-25, 3:57 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.


Also, how about the reliability of the output given by 'pmap <pid> |
grep heap'.
Can we consider it as a leak, if the heap size keeps growing?

Btw, can there be any other cause for memory leaks? If yes, the above
way may not be complete, I suppose. Could somebody clarify?

Overall, it is ambiguous about what Simple Solaris commands to use to
find out whether there are leaks are not(rather than using tools)? Is
there any descriptive paper providing complete information on it?
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com