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
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
Kindly follow the below mentioned steps for Helical Insight which is hosted on Linux server
Please download setenv.zip (287 Bytes) and extract it.
Open this file in a text editor. Based on the kind of hardware that you have allocated to Helical Insight server you can make the required changes in the file.
export CATALINA_OPTS="$CATALINA_OPTS -Xms2048m"
export CATALINA_OPTS="$CATALINA_OPTS -Xmx6144m"
export CATALINA_OPTS="$CATALINA_OPTS -XX:MaxPermSize=2048m"
The memory mentioned here in numbers is in terms of MB.
The first line is minimum JVM allocated, the second line is maximum JVM allocated and the third line is the default.
Based on the kind of RAM present in your server you can accordingly increase all the three lines.
The higher the memory you are able to allocate better the performance you will be able to see.
Once you have made the changes please save this file “setenv.sh” at the location “C:\Program Files\Helical Insight\hi\apache-tomcat-7\bin” and then restart the server.
If you login as admin then on the home page you will be able to see the increased memory configuration.
Then make sure to restart HelicaInsight application. Restarting the application generally take a bit time.
You can restart the service by running the following set of commands. Please note that all the above commands must be run with sudo permissions.::
service HelicalInsight stop
service HelicalInsight start
In order to increase JVM memory of Helical Insight application which is hosted on Windows below are the steps
Go to “C:\Program Files\Helical Insight\hi\apache-tomcat-7\bin”. The path might be different in case if you have installed somewhere else
Search for a file called HelicalInsight.exe. If this file is not present then search for a file tomcat7w.exe and rename it to to HelicalInsight.exe
Then double click on it and go to the “Java” tab of the opened screen.
Here as shown in the image increase the memory allotted in the initial and maximum as per the hardware available with you.

Then make sure to restart HelicaInsight application using services.msc. Restarting the application generally take a bit time.
Thank You
Team Helical.
Standalone JAR Installation: Increasing JVM Memory on Windows OS when installation has happened via the direct installer file:
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.
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.

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.

Restart the Helical Insight service (From services) to apply the updated JVM memory settings.
Standalone JAR: Increasing JVM Memory on Linux OS
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.
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
Save the file
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:
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:
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
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
