Before You Begin
If your application runs under JDK version 1.6.0_26-b03 and you have configured the monitored application to use G1GC, the Java Agent cannot capture memory statistics. To capture memory statistics, you can do any one of the following:
- Remove G1GC (
-XX:+UseG1GC
) from the application startup options, or - Upgrade the JDK to >= 1.6.0_32.
In JVM >= 1.7, the agent attaches listeners to the Java event notification service to generate Garbage Collection metrics. In JVM < 1.7, the agent parses certain JVM log files to generate metrics, so you must verify that your JVM is generating the required logs. See Enable Log-based Garbage Collection.