Suggestions:
1. Increase heap size memory: we recommend to configure the Infrastructure Agent for AWS monitor with a minimum of 1 GB to prevent the Out of Memory issue
As per documentation:
https://techdocs.broadcom.com/content/broadcom/techdocs/us/en/ca-enterprise-software/it-operations-management/application-performance-management/10-7/implementing-agents/infrastructure-agent/install-the-infrastructure-agent.html#concept.dita_a3e333bf4a28317f3fe2f7974a211e6d2397b28f_ConfiguretheInfrastructureAgentHeapSize
"
Configure the Infrastructure Agent Heap Size
You can configure the xms and xmx parameters of the JVM in which the Infrastructure Agent runs using either command line parameters or environment variables.
Configure Heap Size Using Command Line Parameters
Run the APMIA install script including min_heap and max_heap parameters:
UNIX: ./apmia-ca-installer.sh install min_heap=<value> max_heap=<value>
Windows: apmia-ca-installer.bat install min_heap <value> max_heap <value>
Mac: ./apmia-ca-installer.sh install min_heap=<value> max_heap=<value>
By default, min_heap is 256 and max_heap is 512. You can use the installer script to update java heap values on start and restart.
Configure Heap Size Using Environment Variables
Alternatively, you can use the following environment variables to set the heap size values. Once configured, the values are picked up by the installation script when you run it.
MIN_HEAP_VAL_IN_MB
MAX_HEAP_VAL_IN_MB
For example on Linux:
$ export MIN_HEAP_VAL_IN_MB=256
$ export MAX_HEAP_VAL_IN_MB=512