Massif-Visualizer fits native application developers investigating excessive memory use. Run the target workload under Massif, open the resulting capture, and inspect the allocation snapshot at the peak to identify the responsible call paths.
Profile collection requires Valgrind and adds runtime overhead. Callgraph visualization requires an additional KGraphViewer component. Keep working files under version control so subsequent changes can be reviewed and reversed.