9 min read
Debugging a Memory Leak in a Long-Running Node Process
A healthy Node process has a sawtooth memory graph; a rising floor means a leak
The Lab · Written in the open · Tagged Debugging
Working notes from the studio. The tools I build, the workflows I keep, the mistakes I paid for.
5 entries · latest 2026-11-05
Latest entry
Array.sort() with no compare function left 9 of 20 sorted numbers in the wrong place. One compare function fixed it.
Read the entryAll entries · Debugging
9 min read
A healthy Node process has a sawtooth memory graph; a rising floor means a leak
9 min read
I planted a bug in a 1,000-commit repo. git bisect run found it in 10 runs, after three…
9 min read
Reconstruct the timeline from prod logs before touching code
10 min read
Retry storms turned 1 timeout into 340 duplicate calls billed in 90 seconds