• Glossary
  • Support
  • Downloads
  • DataStax Home
Get Live Help
Expand All
Collapse All

DataStax Studio 6.8

    • About Studio
      • Studio architecture and security
        • Security best practices
        • Securing connections from Studio to DSE
      • Studio Notebooks
    • Studio release notes
      • Studio 6.8.2 release notes
      • Studio 6.8.1 release notes
      • Studio 6.8.0 release notes
    • Installing Studio
    • Upgrading Studio
    • Using Studio
      • Starting and stopping Studio
      • Creating a connection
        • SSL connections
        • Authorization and authentication
      • Using graph
        • Using interactive graph
        • Gremlin code cells
      • Using CQL
      • Using Spark SQL
      • Listing notebooks
      • Using notebook history
      • Defining run behavior
      • Exporting notebooks
      • Importing notebooks
    • Configuring Studio
      • Configuring Studio
      • configuration.yaml
      • Advanced configuration options
      • User data
      • JVM settings
    • Studio reference
      • Creating a simple notebook
      • Configuring a notebook
      • Default imports
      • Keyboard shortcuts
      • Notebook cells
    • FAQ
    • Troubleshooting Studio
  • DataStax Studio 6.8
  • Configuring Studio
  • JVM settings

Specifying JVM settings for DataStax Studio

About this task

Studio enables you to specify JVM command-line options for the local Studio server. Studio runs with these defaults:

  • min heap 256 MB

  • max heap 4 GB

  • temp dir /tmp

The default values for Xms (min heap), Xmx (max heap), and temp dir are expressed as:

export STUDIO_JVM_ARGS="-Xms256m -Xmx4g -Djava.io.tmpdir=/tmp"

Adjust as appropriate for your environment.

Procedure

  1. Create a file named setenv.sh for Linux operating systems (setenv.bat for Windows).

  2. Add the content for the JVM arguments to pass to Studio.

    The format of the content is:

    export STUDIO_JVM_ARGS="JVM_options"

    The default values for Xms (min heap), Xmx (max heap), and tmpdir are:

    export STUDIO_JVM_ARGS="-Xms256m -Xmx4g -Djava.io.tmpdir=/tmp"

    For example, to change the maximum heap size to 8 GB:

    export STUDIO_JVM_ARGS="$JVM_OPTS -Xmx8g"
  3. Save the file in the same directory as the Studio server.sh file.

    For example: datastax-studio/bin/setenv.sh

  4. Restart Studio to use the JVM options.

User data Studio reference

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

© DataStax | Privacy policy | Terms of use

DataStax, Titan, and TitanDB are registered trademarks of DataStax, Inc. and its subsidiaries in the United States and/or other countries.

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.

landing_page landingpage