This translation is incomplete. Please help translate this article from English.
L'eina de memòria us permet prendre una captura del monticle de memòra de la pestanya actual. Proporciona un nombre de vistes del monticle que mostra quins objectes fan ús de la memòria i exactament on al codi que esteu assignant en memòria.
El bàsic
Anàlisi de les captures
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:
- the Tree map view shows memory usage as a treemap.
- the Aggregate view shows memory usage as a table of allocated types.
- the Dominators view shows the "retained size" of objects: that is, the size of objects plus the size of other objects that they keep alive through references.
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.
Conceptes
Pàgines d'exemple
Exemples usats a la documentació de l'eina de memòria.