Skip to content

Debugging workflow overview

flowchart TD
  suspect[Suspect leak] --> repro[Reproduce reliably]
  repro --> measure[Measure growth]
  measure --> snapshot[Heap snapshot diff]
  snapshot --> retainers[Follow retainers]
  retainers --> fix[Fix and verify]
  fix --> regress[Add regression guard]
  1. Reproduce reliably
  2. Heap snapshot diffing
  3. Retainers & dominators
  4. Allocation timeline
  5. Node –inspect
Phase Typical effort
Reproduce 30–60 min
First snapshot clue 15 min
Root cause 1–4 hours
Verify + test 1 hour