Memory Analyzer allows to query the heap dump with custom SQL-like queries. OQL represents classes as tables, objects as rows, and fields as columns.
SELECT *
FROM [ INSTANCEOF ] <class name="name">
[ WHERE <filter-expression> ]
</filter-expression></class>
To open an OQL editor use the toolbar button :
OQL editor is divided into two areas:
Use F5 or ctrl+enter or toolbar button to execute the query.
Basic OQL syntax is as follows:
SELECT *
FROM [ INSTANCEOF ] <class name>
[ WHERE <filter-expression> ]
The text area has autocompletion for class names, class name regular expressions, field names, attributes and methods. See OQL autocompletion.
The navigation history shows previous OQL queries. Clicking on a previous query
executes it again. On many result panes, selecting some objects, then