I am running a binary linked with tcmalloc and it is not generating a stack trace for leaks it is detecting.
The output says:
The 1 largest leaks:
Leak of 1401231 bytes in 82093 objects allocated from:
If the preceding stack traces are not enough to find the leaks, try running THIS shell command:
pprof ../../prog "/tmp/prog.15062.prog-end.heap" --inuse_objects --lines --heapcheck --edgefraction=1e-10 --nodefraction=1e-10 --gv
When I run pprof I get a message that there are no nodes to print.
I am enclosing code which has the suspected memory leak by
HeapLeakChecker checker("prog");
....
assert(checker.NoLeaks());
Any ideas as to how to debug this?