On 13/07/2022 16:38, Bresalier, Rob (Nokia - US/Murray Hill) wrote:
We are trying to track down a suspected place in our code that keeps 
accumulating memory in a 'still reachable'.

It sounds like you're trying to track down a "process lifetime" leak.

You'd be better off using one of the heap profiling tools for that,
either massif (--tool=massif) or dhat (--tool=dhat), but probably massif.

You'll need to ask your package manager to install the massif-visualizer GUI.

Run with --tool=massif --num-callers=12 (or 16 or whatever).  Use the GUI
to look at the resulting profile.  After a bit of poking around it should
be obvious where all your allocation is coming from.

J




_______________________________________________
Valgrind-users mailing list
Valgrind-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/valgrind-users

Reply via email to