heap snapshot

A file recording every object in a JavaScript heap at one moment and how they refer to each other, used to find memory leaks.

In more detail

Comparing snapshots taken before and after a suspected leak shows which objects keep piling up. Taking one pauses the process and needs extra memory, so be careful in production.

Related terms

Taught in

References