I’m looking for a runtime memory debugger, capable of showing memory usage (not just leaks) per function or line of C++ code on Linux.
I am trying to track down a spike in my program memory usage.
I have used Valgrind and Purify and I found that there are are no leaks. I expected that, as after that spike, the memory usage gets back to its expected level for my program.
Thanks.
You can use the massif tool from the valgrind pack of tools.