This walks Claude through using heaptrack, a low overhead heap profiler for Linux that's significantly faster than Valgrind massif (2-3x slowdown vs 20x). It covers recording allocation traces, interpreting heaptrack_print output to find leaks and hotspots, comparing memory usage between runs, and using the GUI for visualization. The workflow includes build setup with debug symbols, filtering options, and integration with Rust binaries using the system allocator. Reach for this when you need to find memory leaks or understand allocation patterns without the performance hit of heavier tools, though you'll need debug symbols for readable backtraces.
npx skills add https://github.com/mohitmishra786/low-level-dev-skills --skill heaptrack