Ви читаєте англійську версію цього вмісту, бо ще не існує перекладу для цієї мови. Допоможіть нам перекласти цю статтю!

The Memory tool lets you take a snapshot of the current tab's memory heap. It then provides a number of views of the heap that can show you which objects account for memory usage and exactly where in your code you are allocating memory.

The basics

Analyzing snapshots

The Tree map view is new in Firefox 48, and the Dominators view is new in Firefox 46.

Once you've taken a snapshot, there are three main views the Memory tool provides:

If you've opted to record allocation stacks for the snapshot, the Aggregate and Dominators views can show you exactly where in your code allocations are happening.


Example pages

Examples used in the Memory tool documentation.