Glossary term
What is heap snapshot? Meaning for developers
In Scenario Debugging
A DevTools copy of every object in memory. Compare two snapshots to find objects that keep growing.
Learn it properly · Scenario DebuggingLesson 4: Memory Leaks in Single-Page AppsTimers and listeners that are never cleared, detached DOM nodes, closures that hold big objects and caches that only grow. Also how to confirm a leak with heap snapshots.In Node.js From Zero
A file listing every object in memory at one moment, used to find what a leak is holding on to.
Learn it properly · Node.js From ZeroLesson 8: Testing, Performance and Production Habitsnode:test, profiling with --cpu-prof, memory leaks, configuration, Docker basics, and a production checklist.