Re: Possible to suppress low block count loss records?

Julian Seward <[email protected]>
Newsgroups gmane.comp.debugging.valgrind
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.