Zoomdata Version

Configuring Zoomdata's Memory Settings

By default, the Zoomdata server is configured to use 8 GB of RAM. You can change this memory allocation by following these steps:

  1. From your terminal, SSH to your Zoomdata server.

  2. To modify the memory settings for Zoomdata microservices, you need to edit or create the corresponding .jvm files in /etc/zoomdata/. Perform the following steps:

    vi/etc/zoomdata/<file_name>.jvm
  3. Add or update the following line(s) in the corresponding .jvm files. Do not allocate more than 85% of your total system memory to all microservices.

    • For Zoomdata server (zoomdata.jvm):

      -Xss256k
      -Xms20g
      -Xmx20g

      This example configures the Zoomdata server to use 20 GB of RAM. You can adjust the number to fit your system's needs. Replace the 20 with the necessary memory allocation for your operating environment.

  4. Save and exit the .jvm file.
  5. Restart the microservice for which you have modified the settings:

    For CentOS v6 or Ubuntu v14:

    sudo service <service-name> restart 

    For CentOS v7 or Ubuntu v16:

    sudo systemctl restart <service-name>

Wait a few minutes for the microservice to restart completely, then open a new browser window to log back into Zoomdata.

Was this topic helpful?