You analyze the heap dumps to find areas for optimization:
Class Histogram |
Memory Analyzer provides a developer with a
possibility to focus on a particular piece
of code. by using filters in the Class
Histogram:
![]() |
Immediate Dominators |
When you have found a suspect, that consumes
a lot of memory, you can use the dominators
query to find out what keeps this suspect in
memory. With this query you can also skip
the dominators that are of no interest for
you, e.g.
java.*
packages:
![]() |
OQL |
The two most common ways to "waste" memory are:
|