|
The path to root analysis can calculate:
-
a single root
Only a single garbage collector root will be found. When searching for a memory leak,
this option is often appropriate since any path to a garbage collector root will prevent
the instance from being garbage collected.
-
up to a certain number of roots
A specified maximum number of roots will be found and displayed. If a single root is
not sufficient, try displaying one root more at a time until you get a useful result.
-
all roots
All paths to garbage collector roots will be found and displayed. This analysis takes
much longer than the single root option and can us a lot of memory.
After completing the dialog with the [Ok] button, the analysis will be
calculated and the result will be shown in the reference graph.
With the [Cancel] button, the path to root option dialog is closed and
no analysis is performed.
|