The Java heap size can be altered using of the following methods, depending on which platform the Spotfire Server is running on.
Do not set a heap size without careful consideration of what would be an appropriate value for your system. The heap size should not be set arbitrarily, metrics should be gathered from your system to determine the optimal value. Please consult with Revvity Signals support staff for more information.
Editing the heap size for Spotfire Server under Windows
1.) Locate the Spotfire service under Windows services and select Properties
Note the name of the Spotfire service. In this example the name is 'spotfireserver-1401'
Example from 11.4 where the service name is Tss1144:
2.) Under a command line prompt cd to the directory <INSTALLATION ROOT>\tomcat\bin
Run the tomcat10w.exe command as follows : tomcat10w.exe //ES/service_name
Note: depending on the version of Tomcat shipped with your Spotfire server the tomcat10w.exe may be called tomcat9w.exe or something similar
So using the example above the command would be
tomcat10w.exe //ES/spotfireserver-1401
3.) This will bring up a configuration GUI as below. Click on the Java tab and enter new values for the heap sizes.
It is recommended that the initial and maximum heap sizes be set to the same value.
Under Java Options Java startup parameters may also be altered.
4.) Restart the service to make the change effective.
Editing the heap size for Spotfire Server under Linux
The process on a linux system is more straightforward. All JVM heap settings and parameters are kept in the file.
(INSTALLATION ROOT)/tomcat/bin/setenv.sh
Restart the service to make the change effective.
Further reading: Apache Tomcat Windows Service Reference
Comments
0 comments
Article is closed for comments.