$$ heap_summary.cdb — run via: cdb -z -cf bin\heap_summary.cdb $$ $$ One command per line. .sympath eats the rest of its line, so the path goes $$ on its own line. This avoids the -c semicolon-ambiguity hazard. .sympath C:\Users\acbot\leakhunt\pdb .symopt+ 0x40 .reload /f acclient.exe $$ Heap summary — top-level overview, lightweight. .echo === !heap -s === !heap -s $$ Per-heap allocation-size histogram, useful for tracking growth. .echo === !heap -stat -h 0 === !heap -stat -h 0 q