Analyze Memory: Basic Options
See Also
When analyzing memory usage, you can configure basic and advanced options for the profiling session.
The following basic options are available when analyzing the lifecycle of objects.
If you are configuring a custom configuration, click Advanced Settings to specify advanced options.
When analyzing memory usage, you specify one of the following options:
- Quick.
When selected, the profiler samples the application to provide data that is limited to the live objects.
This option only tracks live objects and does not track allocations when instrumenting.
It is not possible to record stack traces or to use profiling points if you select this option.
This option incurs a significantly lower overhead than the Advanced option.
- Advanced.
Profiling the application with this option gives you information about the number, type, and
location of objects that have been allocated.
When this option is selected, all classes that are currently loaded by the
target JVM (and each new class as it is loaded) are instrumented
to produce information about object allocations.
You need to select this option if you want to use profiling points when
analyzing memory usage or if you want to record the call stack.
This options incurs a greater profiling overhead than the Quick option.
Additionally, you can set the following options:
- Record Full Object Lifestyle.
When selected, all information for each object is recorded,
including the number of generations survived.
- Record Stack Traces for Allocation.
When selected, the full call stack is recorded.
This option enables you to view the reverse call tree for method calls when viewing a memory snapshot.
- Use defined Profiling Points. When selected, any actions that are initiated by enabled profiling points
in the project are performed. Disabled profiling points are ignored. When deselected, all profiling points in the project
are ignored.
The Overhead bar graph provides you with a rough indication of the overhead that will
be incurred when you profile the application with the current settings.
- See Also
- Analyze Memory: Advanced Options
- Analyzing Application Memory Usage
- Profiling a Project or Class
- Setting Profiling Points
Legal Notices