GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Docs
  • Web Platform
  • Isolated Web Apps (IWA)
  • Capabilities
  • Automation and testing
  • ChromeDriver
  • Extensions
  • Chrome Web Store
  • Chromium
  • Web on Android
  • Origin trials
  • Release notes
  • DevTools
  • Lighthouse

This view

  • Original page
  • New address

GeezerVison is showing developer.chrome.com — Memory panel overview | Chrome DevTools | Chrome for Developers

Memory panel overview Stay organized with collections Save and categorize content based on your preferences.

Dale St. Marthe
Dale St. Marthe

The Memory panel provides diagnostic tools that let you see the memory distribution of JavaScript objects, discover and isolate memory leaks, get a breakdown of memory allocation by function, and more.

Overview

The Memory panel lets you capture four profile types. These profile types show you snapshots from different perspectives and provide varying utility:

  • Heap snapshot: Shows memory distribution among your page's Javascript objects and related DOM nodes.
  • Allocation instrumentation on timeline: Shows instrumented JavaScript memory allocations over time. Once a profile is recorded you can select a time interval to see objects that were allocated within it and still live by the end of the recording. Use this profile type to isolate memory leaks.
  • Allocation sampling: Records memory allocations using the sampling method. This profile type has minimal performance overhead and can be used for long running operations. It provides good approximations of allocations broken down by JavaScript execution stack.
  • Detached elements: Shows objects that are retained by a JavaScript reference.

You can select a JavaScript VM instance to run each of these profiles on.

To learn more, see:

  • Fix memory problems
  • Record heap snapshots
  • Allocation Profiler Tool

Open the Memory panel

To open the Memory panel:

  1. Open DevTools.
  2. Open the Command menu by pressing:
    • macOS: Command+Shift+P
    • Windows, Linux, ChromeOS: Control+Shift+P Command Menu with
  3. Start typing memory, select Show Memory, and press Enter. DevTools displays the Memory panel at the top of your DevTools window.

Alternatively, you can open the Memory panel in the following ways:

  • In the action bar at the top, click double_arrow More panels and select Memory from the drop-down list.
  • In the top right corner, select more_vert More options > More tools > Memory.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2024-11-05 UTC.

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.