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

book

Article ID: 8439

calendar_today

Updated On:

Products

APP PERF MANAGEMENT CA Application Performance Management Agent (APM / Wily / Introscope) CUSTOMER EXPERIENCE MANAGER INTROSCOPE

Issue/Introduction

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

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.

Environment

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

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