Configure Server JVM Options
Fine-tune the performance of Seeker server by configuring its Java Virtual Machine (JVM) options.
For example, you can configure memory allocation for the JVM. The
Xms
and Xmx
flags specify the initial and
maximum memory allocation pools. The default values are 4096m and 2048m
respectively. For large deployments, you can increase these values by configuring
the SEEKER_SERVER_JAVA_OPTS
variable in the Seeker configuration
files.
For Linux/MacOS
-
Add the following lines to the
${SEEKER_HOME_DIR}/setenv.sh
file:# server memory settings export SEEKER_SERVER_JAVA_OPTS="-Xmx8192m" # sensor memory settings export SEEKER_SENSOR_JAVA_OPTS="-Xmx4096m"
For Windows
-
For the server, open the
%SEEKER_INSTALL_DIR%\server-service.conf
file and edit the existing value of theSEEKER_JAVA_OPTS
variable. For example:SEEKER_JAVA_OPTS=-Xmx8192m
-
For the sensor, open the
%SEEKER_INSTALL_DIR%\sensor-service.conf
file and edit the existing value of theSEEKER_JAVA_OPTS
variable. For example:SEEKER_JAVA_OPTS=-Xmx4096m