Memory Profiling for Mere Mortals
summary
Explains how data is laid out in the V8 heap and practical ways to examine Node.js memory usage using readily available developer tools. Covers V8 features that simplify finding leaks—specifically memory allocation sampling—and how to use the V8 API to access those features before they appear in Chrome DevTools.
AI-written summary · about
chapters (9)
- 0:00Start
- 7:52Memory Leak Causes
- 10:31Garbage Collector
- 14:57Trouble Shooting Leaks
- 20:27Considerations
- 21:44Name Your Functions
- 22:08Recording Allocation Profile
- 24:41Sampling Memory Allocations
- 27:13Resources
related talks
45mHow to Track Memory in V8?
38mUnderstanding Memory Behavior on Nodejs
35mMemory Chronicles: Manage, Trace and Fix Memory Leaks
18mMemory Layout of V8's Heap
26mThe Hitchhiker's Guide to All Things Memory in Javascript
33mMemory Profiling for Mere Mortals
46mTracking Down a Memory Leak
24mTrash Talk - Understanding Memory Management
