JS Memory Management and Garbage Collection
summary
Explains how JavaScript manages memory and how garbage collection works, covering concepts relevant to developers working with JS. Covers practical details of allocation, lifetimes of objects, and how garbage collectors reclaim memory to help optimize web applications.
AI-written summary · about
chapters (12)
- 0:00Start
- 7:44Dynamic Machine Code Generation
- 10:51Garbage collection
- 12:32The way GC works
- 15:13Optimization tips
- 17:03Problems GC faces
- 17:31Discovering pointers
- 20:40JIT compiler
- 21:09JIT compilation in parallel threads
- 21:40Garbage Collector
- 23:06Avoid adding properties to objects on
- 24:00Avoid changing type of object properties
related talks
30mMemory Don't Forget To Take Out The Garbage
31mJavaScript memory management: Visual Guide
27mVisualised guide to memory management in JavaScript
24mTrash Talk - Understanding Memory Management
19mUnderstand, find, prevent and fix memory leaks in JavaScript
17mAlice's Adventures in Memory Management, or how JavaScript objects work
28mAlice's Adventures in Memoryland
22mThe Hitchhiker's Guide to All Things Memory in JS
