Analyze Memory: Basic Options

Use to configure basic and advanced options for the profiling session.

Element Description

Quick

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

Provides 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 must 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.

Record Full Object Lifestyle

Records all information for each object, including the number of generations survived.

Record Stack Traces for Allocation

Records the full call stack.

This option enables you to view the reverse call tree for method calls when viewing a memory snapshot.

Use defined Profiling Points

Performs any actions that are initiated by enabled profiling points in the project.

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 is incurred when you profile the application with the current settings.


Related Topics

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Developing Applications with NetBeans IDE,

Copyright © 2014, Oracle and/or its affiliates. All rights reserved.