search cancel

Defect Aggregation process not working due to Separate JVM not starting successfully.


Article ID: 5300


Updated On:


CA Application Performance Management Agent (APM / Wily / Introscope) INTROSCOPE


 Defect aggregation failing to start due to a JVM error.

 [ERROR] [DefectAggregation.Thread1][] Separate JVM for defect aggregation failed to start


All Supported APM Releases.


 This error may appear in Enterprise Manager logs and defects aggregation may not occur.


 The or (which overrides can enable running defect aggregation in a separate JVM instance.

This error is a result of allocating inadequate resources to this JVM.

If you are seeing this error, do the following:

  1. Switch to using a 64-bit operating system, and allocate 8Gb heap for the affected Enterprise Manager,
  2. After doing the above, change this property to 'false' in or

    • defects.aggregateInSeparateJvm=false

Additional Information

 The APM Configuration and Administration Guide recommends that and be identical across all Enterprise Managers in a cluster, including the MOM. All EMs will need to be restarted for any change to take effect.

 If you have a 32-bit operating system, keep this property set to 'true' and allocate more heap to the JVM that runs the defect aggregation service.

 To increase the amount of heap allocated to the JVM running the defect aggregation service, edit or

Locate the entry:

defects.jvmArgs= -XX:+CMSClassUnloadingEnabled -XX:+UseConcMarkSweepGC -XX:+UseBiasedLocking -XX:SurvivorRatio=8 -XX:TargetSurvivorRatio=90 -Xms256M -XX:ThreadStackSize=128

Increase heap by altering the setting: -Xms256M to a larger value.

After copying the modified .properties file to each EM, restart all of the EMs.