MOM EM unable to stay running - crashes with -java.lang.OutOfMemoryError: Java heap space

book

Article ID: 140703

calendar_today

Updated On:

Products

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

Issue/Introduction

MOM EM fails to load with an error of java.lang.OutOfMemoryError: Java heap space.

Cause

The default heap size of Initial and max are not large enough.


Environment

Release : 10.7. SP3 

Windows 2012 

Resolution

Issue resolved by increasing heal size on the EMservice.conf as the MOM EM runs as a Windows service


https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/application-performance-management/10-7/administrating/properties-files-reference/emservice-conf.html

Increased from default value to 4096 MB

wrapper.java.initmemory
wrapper.java.maxmemory


Restarted the MOM EM - seems to started and running