Heaptrack
A fast heap memory profiler for C and C++ applications on Linux.
Why consider Heaptrack?
Heaptrack is a fast heap memory profiler for C and C++ applications on Linux written by Milian Wolff at KDE. It intercepts malloc, free, and operator new calls without modifying source code, generating visual graphs of memory leaks, peak memory allocations, and temporary bloat.
Learn Heaptrack by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of Heaptrack
Heaptrack tracks C++ heap allocations at runtime to pinpoint memory leak locations down to exact source lines.
Quickstart
heaptrack ./my_cpp_appheaptrack_gui heaptrack.my_cpp_app.xxxx.gzHeaptrack is licensed under the GNU LGPL-2.1 license.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.