[dtrace-discuss] Re: Incorrect information showed by dtrace

Casper.Dik at Sun.COM
Thu, 01 Mar 2007 13:06:44 -0000

>I have already used libumem. Unfortunately all the leaks it is showing
>are actually areas in code which holds initialization data, which will
>remain in memory till the end of the process.

Why do you think they''re not leaks?  libumem claims they are
not reachable if they are reported as leaks.  If you can''t
reach it, you might as well free it.


>Another observation is that when I run my process under libumem, the
>memory usage shoots to 255 MB in a very short time. But in normal
>scenarios it consumes about 77 MB of memory.

libumem allocates memory differently.



Watchmalloc is mostly useful when you have memory corruption issues.

Casper