<br><br><div class="gmail_quote">On Mon, Aug 15, 2011 at 2:03 PM, Ludo Brands <span dir="ltr"><<a href="mailto:ludo.brands@free.fr">ludo.brands@free.fr</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<u></u>
<div><div class="im">
<div><font color="#0000ff" face="Arial" size="2"></font> </div>
<blockquote style="padding-left: 5px; margin-left: 5px; border-left: 2px solid rgb(0, 0, 255); margin-right: 0px;"><font color="#0000ff" face="Arial" size="2"></font><font color="#0000ff" face="Arial" size="2"></font><font color="#0000ff" face="Arial" size="2"></font>
<div><font color="#0000ff" face="Arial" size="2"></font><font color="#0000ff" face="Arial" size="2"></font><font color="#0000ff" face="Arial" size="2"></font><font color="#0000ff" face="Arial" size="2"></font><br>if there's a common ancestor
allocating something (let's call it NewBlock() and it uses GetMem) and I have
many descendants using this method, is there a chance to find the "eater"
amongst these descendants or massif tool will drop all the stats to
NewBlock()?<br><br>Max<br><br><br><span><font color="#0000ff" face="Arial" size="2"> </font></span></div></blockquote>
</div><div><span><font color="#0000ff" face="Arial" size="2">Here
is part of the massif output from lazarus memory usage that shows what
you are looking for. The ms_print</font> <font face="Arial"><font color="#0000ff" size="2">tool that comes with valgrind does the actual formatting.
massif and ms_print both have a threshold value which is the percentage below
which they don't report details. This is very helpfull in quickly finding
problem areas.</font></font></span></div>
<div><span><font color="#0000ff" face="Arial" size="2"></font></span> </div><br></div></blockquote></div><br>Thank, Ludo, I think the other questions (if they appear) will be asked when I really used it on a real project <br>
<br>Max<br>