Really, I would like something similar to Java,How do I find out which class or method USES a lot of memory?, just for C++
Ideally, something for the stack too.
I'm working on a large codebase and trying to figure out where I could touch to optimize the memory usage of certain runs of the program, or perhaps parallelize it and split it across multiple compute nodes evenly.
I know Valgrind can help with memory LEAKS... but what about memory USAGE?