Configuring 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

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.

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com