JVM Debugger Memory View

Compatible with: IntelliJ IDEA Android Studio
11.11.2016
36 485

This plugin extends the built-in JVM debugger with capabilities to explore objects in the JVM heap during a debug session.

The Memory View shows you the total number of objects in the heap grouped by their class name.

When you're stepping over the code, the Diff column shows how the number of objects changes between debugger stops. This way you can easily see how the code you're stepping over affects the heap.

A double click on a class name, opens a dialog with instances of this class. The dialog lets you filter instances by an evaluated expression. All debugger operations such as Inspect, Mark Object, Evaluate Expression, Add to Watches, etc can be applied to instances in this dialog.

WARNING: version for Android Studio contains few restrictions:

  • Getting a large number of instances may fail and stop VM due to Android memory limitations.
  • Android Studio may freeze, see this bug

Download plugin

Recent change notes

0.93
  • Add ability to see only classes marked as tracked in the classes tool window
  • Fix minor bugs
0.92
  • Added ability to track new instances (concrete instances in 'Diff' column)
  • Added ability to see allocation position for new tracked objects
  • Few minor improvements and bug fixes
0.91
  • New icons
  • Fixed empty text in classes view when filtering is matching nothing
  • New filtering in classes view (supports regex)
  • Added highlighting of filtering matches in classes view
  • Added ability to select an item with arrow keys when writing filtering expression
  • Added beta version for Android Studio 2.2

General usage instructions

WARNING: The plugin is incompatible with the IDEA versions after 2017.1. The Memory View is available out of the box in the IDEA 2017.1.


Please, see the screenshot to find it.