ALERT: Some images may not load properly within the Knowledge Base Article. If you see a broken image, please right-click and select 'Open image in a new tab'. We apologize for this inconvenience.

APM MQMonitor agent OutOfMemory


Article ID: 106260


Updated On:


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


We are using the Websphere MQ Agent v10.5.2.52 and we noticed that we got java.lang.OutOfMemoryError exceptions.


This was relating to specific configuration in the environment, which created large "" objects in memory which in turn were holding onto huge "security policy" objects.
It is not a leak and specific to the configuration in the environment.


Component: APMPPK


The heap of the MQMonitor process should be increased, to a minimum 1.5GB.
This is configured in

Look for the section where minimum and maximum heap are configured
-Xms64m -Xmx512m

and increase the maximum
-Xms64m -Xmx1536m

Make sure you are using a 64-bit JRE if you want to allocate larger amounts of heap.