Jobs are submitted to WA SAP plugin. are executing fine on SAP but not getting out of "SUBMIT" status in ESP
Release : 11.3/11.4/11.5
Component : CA WORKLOAD AUTOMATION AGENT
The agent logs may show error like these
------
------
The OutOfMemoryError (OOM) message happened either because OS did not and/or could not give the additional memory to WA Agent. Restart the agent and that will re-initiate the plugin. If this is observed often then the following options is available:
1. Reduce the default heap size to 1 GB (or less) so agent doesn't ask for more memory than OS can give. Use this parameter in agentparm.txt
oscomponent.jvm.x.options=-Xms128m;-Xmx1024m
Make sure that OS always has the max amount of memory (-Xmx) always free for the agent.
Note: Agent will not take all the heap it is allowed (in above example, 1 GB). It will take in small chunks from the OS.