Configuring CA APM EPAgent Heap Size

Document ID : KB000030378
Last Modified Date : 14/02/2018
Show Technical Document Details

Description: 

How to change CA APM Environment Performance Agent (EPAgent) heap size.

 

Solution: 

If not changed, EPAgent uses the Java default heap memory settings.

Modify the EPACtrl Script file to set these values. 

  • Edit the EPACtrl script file.
  • Add the minimum (-Xms) and maximum (-Xmx) arguments within EpaCmd.

In the example below, the minimum value is set to 256 MB and the maximum value to 1024 MB. 


EpaCmd="java -cp lib/EPAgent.jar:lib/IntroscopeServices.jar:lib/Agent.jar:epaplugins/epaMQMonitor/epaMQMonitor.jar:epaplugins/epaMQMonitor:epaplugins/epaMQMonitor/lib/com.ibm.mq.pcf.jar:epaplugins/epaMQMonitor/lib/com.ibm.mq.jar:epaplugins/epaMQMonitor/lib/connector.jar:epaplugins/epaMQMonitor/lib/com.ibm.mqjms.jar -Xms256m -Xmx1024m com.wily.introscope.api.IntroscopeEPAgent" 

  • Save the EPACtrl script file.
  • Restart the EPAgent.