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]
Steps in this section
Section titled “Steps in this section”Time budget
Section titled “Time budget”| Phase | Typical effort |
|---|---|
| Reproduce | 30–60 min |
| First snapshot clue | 15 min |
| Root cause | 1–4 hours |
| Verify + test | 1 hour |