CA APM SmartStor Pruning fails with Out Of Memory

book

Article ID: 4775

calendar_today

Updated On:

Products

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

Issue/Introduction

The SmartStor Pruning job is not able to complete.  It fails with Out Of Memory.

We tried increasing the memory allocation in the IntroscopeEnterpriseManager.lax file to be as high as 12GB and Max perm 8GB, but still it fails with an OOM error.

The following entries found on the IntroscopeEnterpriseManager.log:

12/25/16 10:33:00 AM EST [INFO] [Manager] Reading Smartstor Metadata

12/25/16 10:33:00 AM EST [INFO] [Manager] Loading metadata file: /opt/CA/APMtest/data/metrics.metadata
java.lang.OutOfMemoryError: GC overhead limit exceeded

 

Are there other memory parameters should be looking at?

Is there anything else needs to do after increasing the memory besides the .lax file?

 

Cause

The heap on the "SmartStor Tools" itself is running out of space and need to allocate more heap. 

 

Environment

APM 10.x

Resolution

Please edit the smartstortools.bat (Windows) or smartstortools.sh (UNIX/Linux) and increase the line that sets the memory. 


On windows it is:
set JAVA_OPTS=-Xmx512m

Note: If a 32bit JVM environment, it is limited to 1.5GB,
          If a 64bit JVM Environment, can go higher.

Additional Information

Smartstortools Help