[fpc-pascal] Is such memory statistics possible?

Max Vlasov max.vlasov at gmail.com
Mon Aug 15 12:55:06 CEST 2011


On Mon, Aug 15, 2011 at 2:03 PM, Ludo Brands <ludo.brands at free.fr> wrote:

> **
>
>
>
> 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()?
>
> Max
>
>
>
>
> Here is part of the massif output from lazarus memory usage that shows what
> you are looking for. The ms_print 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.
>
>
>
Thank, Ludo, I think the other questions (if they appear) will be asked when
I really used it on a real project

Max
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20110815/451ef285/attachment.html>


More information about the fpc-pascal mailing list