Changing the maximum memory of Tomcat Service

image_pdfimage_print

The memory consumption of the Tomcat Service is limited by the maximum heap size: this is the maximum amount of heap memory the Java Virtual Machine (JVM) is allowed to allocate. Especially on a 64-bit system, it is convenient to assign more memory than the default 1024 MB.

On Windows:

  1. Change the value of Max_Memory in the file …\tomcat\bin\setenv.bat.
  2. Execute …\tomcat\bin\serviceRemove.bat. This stops and removes the Service.
  3. Execute …\tomcat\bin\serviceInstall.bat. This installs and starts the Service.

On Linux:

  1. Stop the Tomcat service via ./jedox-suite.sh stop tomcat
  2. Change the value of Max_Memory in the file …/tomcat/bin/setenv.sh.
  3. Restart the Tomcat Service via ./jedox-suite.sh start tomcat.
image_pdfimage_print