Show TOC

Monitoring the Java Virtual Machine (JVM)Locate this document in the navigation structure

Use

The VM function enables you to monitor the relevant memory features:

  • GS Ratio - shows the average proportion of total time used by the last full garbage collection.

  • GC State - shows aggregated data for all monitors under node /Kernel/SAPJVM/GCProblemReporting/ . If one of the monitors from this group has red or yellow state, the GC State monitor has also red or yellow state.

  • Full GC Duration - shows the duration of the last garbage collection.

  • Heap Dump - shows the number of heap dump files that have occurred on all server processes of your AS Java. If the monitor's value is bigger than 1, you can easily detect memory leak on a server process.

  • Released Memory - shows the released memory per minute by the garbage collector when the garbage collection is running.

  • System State - shows aggregated data for all monitors under node /Kernel/SAPJVM/SystemProblemReporting/ . If one of the monitors from this group has red or yellow state, the System State monitor has also red or yellow state.

Note

The GC Ratio and Released Memory monitors are visible only in the standalone version of System Overview .

Prerequisites

You have started SAP NetWeaver Administrator and use the System Overview application.

Procedure

Resolving Garbage Collection Problems

  1. To configure the relevant VM parameters, choose Check VM Parameters from the context menu.

  2. For Released Memory you can also switch to the Session Management application.

Monitoring Heap Dumps

  1. In the VM area, you can see the number of all heap dumps within your AS Java.

  2. To see the available ones, from the context menu choose Analyze Heap Dumps .

  3. The Heap Dumps Analysis tool is opened, displaying a table with details about all heap dumps.

To start/stop an AS Java process, from the Heap Dump context menu, choose Manage Java Server Nodes .