![]() Use it to analyze closures and dive into your objects at a low level. Containment view provides a better view of object structure, helping analyze objects referenced in the global namespace (window) to find out what is keeping objects around. ![]() Inspecting the delta in freed memory and reference count lets you confirm the presence and cause of a memory leak.Ĭontainment view. Use it to compare two (or more) memory snapshots from before and after an operation. ![]() Displays the difference between two snapshots. Summary view is particularly helpful for tracking down DOM leaks.Ĭomparison view. Use it to hunt down objects (and the memory use) based on type grouped by constructor name. Summary view shows objects grouped by the constructor name. View snapshots from different perspectives for different tasks. A number of (object) item allocations are displayed. Open this demo example webpage: Example 3: Scattered objects in a new window or tab.Demo webpage: Example 3: Scattered objects When reopening DevTools, all previously taken snapshots reappear in the list of snapshots. ![]() Clear snapshotsĬlick the Clear all profiles icon to remove snapshots (both from DevTools and any memory associated with the renderer process).Ĭlosing the DevTools window doesn't delete profiles from the memory associated with the renderer process. Also, taking a snapshot always starts with a garbage collection. Only reachable objects are included in snapshots.
0 Comments
Leave a Reply. |