How to Increase JVM Memory in Helical Insight Application?

Hi Team Helical,

Helical Insight is giving slightly slow performance. I want to increase the performance.
I would like to increase the JVM memory allocated to the application. Please advise how that can be done?

Thank You

Standalone JAR Installation: Increasing JVM Memory on Windows OS when installation has happened via the direct installer file:

  1. Locate the Helical Insight Tomcat Directory

Navigate to the Tomcat bin folder. The default installation path is:

C:\Program Files\Helical Insight\hi\apache-tomcat-11\bin

If Helical Insight is installed in a different directory, go to the corresponding location.

  1. Locate the Service Executable

In the bin folder, find the file HelicalInsight.exe.

If the file exists, double-click it.

In the window that opens, go to the Java tab.

image

  1. Adjust JVM Memory

Set the JVM memory (Xms and Xmx) based on the RAM capacity of your server:

Example:

Initial memory (Xms): 3072 MB

Maximum memory (Xmx): 6144 MB

After updating the values, click Apply and then OK.

image

  1. Restart Helical Insight

Restart the Helical Insight service (From services) to apply the updated JVM memory settings.

Standalone JAR: Increasing JVM Memory on Linux OS

  1. Locate the Helical Insight Tomcat Directory

Navigate to the Tomcat bin folder. The default installation path is:

/usr/local/Helical Insight/hi/apache-tomcat-11/bin

If Helical Insight is installed in a different directory, go to the corresponding location.

  1. Open setenv.sh file

You can see below config by default

export SPARK_HOME=’/usr/local/Helical Insight/hi/hi-repository/System/SparkHome’

export HADOOP_HOME=’/usr/local/Helical Insight/hi/hi-repository/System/HadoopHome’

In order to config JVM Memory, add below configuration

export CATALINA_OPTS="-Xms3072m -Xmx6144m"

Note : Set the JVM memory (Xms and Xmx) based on the RAM capacity of your server

  1. Save the file

  2. Restart the Helical Insight service using the appropriate command to apply the updated JVM memory settings.

service HelicalInsight stop

service HelicalInsight start

Docker Deployment: Configuring JVM Memory:

  1. Open the Docker Compose File

Navigate to the server path where your Docker setup is located and open the docker-compose.yml file.

2.Locate the CATALINA_OPTS Line

Around line 35, you will find:

  • CATALINA_OPTS=-Djdk.internal.httpclient.disableHostnameVerification=true
  1. Update JVM Memory Settings

To set the minimum heap to 3 GB and maximum heap to 6 GB, modify the line as follows:

Recommended Configuration for Testing/Development Environments (e.g., internal servers, self-signed certificates, or test endpoints)

- CATALINA_OPTS=-Djdk.internal.httpclient.disableHostnameVerification=true -Xms3072m -Xmx6144m

Note : Set the JVM memory (Xms and Xmx) based on the RAM capacity of your server

Recommended Configuration for Production, specifically when using proper SSL and domain mapping:

- CATALINA_OPTS=-Xms3072m -Xmx6144m

  1. Save Changes and Restart Docker to apply the updated JVM memory settings

From the Docker setup location (e.g., /opt/Helical694_61GA), run the following commands:

Stop Docker:

docker compose down

Start Docker:

docker compose up -d

image