Configure the DataStax Agent JVM
The DataStax Agent JVM is designed to have a minimal footprint on your nodes and simply work without extra configuration for most environments.
JVM properties for the agent are configured in datastax-agent-env.sh. The default location of this DataStax agent environment shell script depends on the type of installation:
-
Package installations: /etc/datastax-agent/datastax-agent-env.sh
-
Tarball installations: install_location/agent/conf/datastax-agent-env.sh
For most environments, the DataStax agent requires 1GB of heap.
If an agent is experiencing OutOfMemory issues, try changing the -Xmx property in datastax-agent-env.sh to 2048M (-Xmx2048M).
If issues persist, contact DataStax Support to determine whether your environment requires more heap or if there is a problem with the agent.