Heap profile

A heap profile is a snapshot of live and total memory allocations grouped by call site. It helps identify which functions allocate the most memory and which allocations remain reachable, distinguishing allocation volume from retained memory.

Learn this concept

Lesson 6.8 · CPU and heap profiling
Prerequisite conceptspprof