Tips and Tricks

The following tips and tricks give some helpful ideas for increasing your productivity and ease the work with Memory Analyzer.

Tip Description
Shortcuts

Ctrl-Q - Opens the Query Browser

Ctrl-H - Opens the history of executed queries.

Alt-I - Opens a popup menu that explains the icons

Quick Search Just start to type while you are in the heap editor, all the matches will be highlighted. This quick search starts is activated when 3 or more letters are provided.

Filter To show only rows of a table or tree matching a filter, click the top row, or press enter when the top row is selected. Then type the required filter for the column. Multiple filters can be used. In the example the "(1,909 filtered)" on the totals row means 1909 rows have been excluded by the filter.

For text columns a regular expression is used as a filter.

For numeric columns a numeric comparison is used as a filter. Use one of the following:
  • Intervals: 1000..10000 1%..10%
  • Upper Boundary: <=10000 <1%
  • Lower Boundary: >1000 >=5%


Resize and reorder columns To resize or rearrange columns using the keyboard select a filter entry for the column as above.
  • Use <Ctrl> or <Command> up and down cursor keys to resize the column.
  • Use <Alt> up and down cursor keys to change the position of the column.
  • Use use <Ctrl> or <Command> <Numpad plus> to expand columns to full width.
Keyboard navigation of trees
  • Use <Numpad plus> or <enter> to expand a row.
  • Use <Numpad minus> or <enter> to collapse a row.
  • Use <Numpad multiply> to fully expand a row and its descendants. Use <Escape> to cancel further expansion.
  • Use <Numpad divide> to fully collapse all selected rows and their descendants.
Notes, Hyperlinks in Notes View Notes View recognizes and highlights object addresses. Activating the hyperlink brings up a context menu which contains actions for this particular object.

Copy To Clipboard Use Ctrl C to copy the selection to the clipboard. The data will keep its structure:

Manage the history of opened heap dumps Heap Dump History view offers a set of context menu actions to manage the history of opened heap dumps:

Delete Heap Dump action removes the heap dump from the history, but not from the file system. To find a heap dump in the file system use Explore in File System context menu action

Manage editor tabs Right click on the Heap Editor tab will open a context menu to manage the tabs. It might be very helpful when many tabs are open.

Link Inspector View with Heap Editor Object Inspector View shows the details for the single selected object. The view updates itself with every change in the selection. Sometimes it is interesting to compare two or more objects or just to capture the view. To do so use Link with Snapshot context menu. The Inspector view will keep its data. To have another Inspector view, open it via View > Inspector

Value tab in Inspector View The Object Inspector View shows the details for the single selected object. The value tab shows the value as given by the name resolver extension point.