Warp Speed Memory Management
summary
Explains how JavaScript allocation and release actually work and shows Chrome V8 using generational and mark-and-sweep collectors, why frequent young collections are cheap and full collections stall the page, and how excessive allocations and lingering globals cause leaks and battery drain. Builds an Ember.js demo with console logs that exercises run loop queues and components lifecycle hooks, demonstrates automatic teardown vs manual observer leaks, and reports that Ember’s coalescing and teardown measurably reduce DOM churn and unexpected memory growth.
AI-written summary · about
chapters (13)
- 0:00Intro
- 1:29Why Memory Management ?
- 4:24Memory Life Cycle
- 5:09Allocate and Use
- 5:58Garbage Collection
- 7:11References
- 8:48Possible Memory Issues
- 9:14Gotchas
- 10:16Too Many Memory Leaks?
- 12:19Ember
- 13:43Run Loop
- 17:21Components
- 19:48Computed Properties
related talks
38mUnderstanding Memory Behavior on Nodejs
31mJavaScript memory management: Visual Guide
26mThe Hitchhiker's Guide to All Things Memory in Javascript
30mMemory Don't Forget To Take Out The Garbage
22mThe Hitchhiker's Guide to All Things Memory in JS
31mMemory Leaks in JavaScript
21mMemory: Don't Forget to Take Out the Garbage
19mUnderstand, find, prevent and fix memory leaks in JavaScript
