Unexpected GC Spikes even though there is a free heap available.

Document ID : KB000008439
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

  EM/Workstation/Investigator are slow in logging and in general performance.

Environment:
This has occurred with APM 10.5.1 (HF 32 & HF 39) and 10.5.2 with various operating systems .
Cause:

Unexplained GC spikes when there are plenty of free memory in heap could be caused by a known issue of LDAP login triggering explicit GC, This is because APM calls System.gc() in the code. This can be confirmed if there is also User login related message in the log corresponding to the GC spiking time.

Resolution:

    The workaround is to disable explicit GC:

- Add Java option "XX:+DisableExplicitGC" for Oracle JVM

- "-Xdisableexplicitgc" for IBM JVM

More details on this Java option is covered in http://www.oracle.com/technetwork/articles/java/vmoptions-jsp-140102.html 

 
 
Additional Information: