Finding Memory Leaks: A Practical Workshop in Chrome DevTools
summary
A hands-on workshop on diagnosing JavaScript memory leaks using Chrome DevTools, covering concrete techniques: queryObjects, the Memory Allocation Timeline, and the three-snapshot method. Includes prepared sandboxes with realistic leak examples (from real cases and Chrome/Edge docs) and step-by-step guidance on what to look for in each technique.
AI-written summary · about
chapters (18)
- 0:00Introduction
- 1:45Where leaks happen
- 3:50Detecting leaks
- 5:13Basic leak detection
- 7:23Performance Monitor
- 8:25Query Objects
- 11:15Detached Elements tool
- 12:16JS Heap Size leak
- 14:22Allocations on Timeline
- 17:34Three-snapshot technique
- 23:14React-specific leaks
- 27:48Real-world React leak
- 28:52Warming apps
- 30:36Leaks in Node.js
- 34:53Automating detection
- 37:00AI-assisted analysis
- 38:23Summary
- 40:33Q&A
