Rate This Document
Findability
Accuracy
Completeness
Readability

Viewing Memory Analysis Results

Prerequisites

A sampling analysis task has been created and the analysis is complete.

Procedure

  1. In the Task/Report List area of the Java Profiler page, click the name of the analysis task under Sampling Profiling.
  2. Click the Memory tab.
    The allocation of Java objects in the heap is displayed, as shown in Figure 1. For details about the parameters, see Table 1.

    In the Classes area, you can click a class name to view the memory allocation bar chart and call stack of that class. You can click or to expand or collapse the call stack information.

    Figure 1 Memory (all objects)
    Table 1 Parameters on the All Objects tab page

    Parameter

    Description

    Class

    Class name.

    Max. Real-Time Count

    Maximum number of real-time class instances.

    Max. Real-Time Size

    Maximum memory usage of the real-time class instances.

    Memory Allocated (MiB)

    Memory allocated to the class.

  3. Click the Old-Generation Objects tab.
    The allocation of old-generation objects in the heap is displayed. See Figure 2. For details about the parameters, see Table 2.
    • You can select Stack Trace or Reference Link from the Stack Trace drop-down list on the right of the page.
    • You can enter an object name in the search box to quickly filter data.
    • You can click View Details after to view the tuning suggestions for the current task.
    Figure 2 Memory (old-generation objects)
    Table 2 Parameters on the Old-Generation Objects tab page

    Parameter

    Description

    Time

    Time when the old-generation object is allocated.

    Object

    Class name.

    Thread

    Thread name.

    Used Heap

    Size of the used heap.

    Stack Trace

    Stack trace information.

    Reference Link

    Reference links.