Configuring the DataStax Agent JVM
Configure the JVM parameters for the DataStax Agent JVM.
datastax-agent-env.sh
The default location of the DataStax agent environment shell script datastax-agent-env.sh 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
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.
Agent Heap Size
For most environments, the DataStax agent will require 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 still persist, please contact DataStax
Support so DataStax can determine whether your environment requires even more heap
or if there is an issue in the agent.