Topics

Jump to a topic.

Search questions

Find a question by title, tag, or summary.

Chapter 25

Memory and garbage collection

Reachability-based garbage collection, how leaks happen and how to find them, and how V8's collector works.
4 questions
  1. 010How does garbage collection work in JavaScript?Coming soonCoremedium
  2. 020What causes memory leaks, and how do you find them?Coming soonmedium
  3. 030What are WeakRef and FinalizationRegistry, and why use them rarely?Coming soonhard
  4. 040How does V8's generational GC work?Coming soonhard