On this page
For Web Application Platform to run smoothly, you should configure the memory usage for the Java application server the Web Application Platform runs on (e.g., Apache Tomcat). The sections below explain how to do that on different operating systems.
If your instance of the Web Application Platform is running on Windows, configure memory usage by following one of the given workflows.
To configure memory usage when Web Application Platform is started by running an executable
Copy and paste the following line to the setenv.bat file:
set JAVA_OPTS=-Dfile.encoding=UTF-8 -Xms32G -Xmx32G |
The memory usage values (Xms32G and Xmx32G) are recommended values for Web Application Platform. You do not have to change them. |
To configure memory usage when Web Application Platform is started as a service
In the command-line interface, run the following command:
.\bin\tomcat<version>.exe //US//WebApp --JvmMs=32000 --JvmMx=32000 ++JvmOptions='-Dcom.sun.management.jmxremote=true' |
|
You can also change memory usage values in the registry. To do that, open the registry and go to ...Apache Software Foundation\Procrun 2.0\WebApp\Parameters\Java. Then right-click the Options file and select Modify. In the open dialog, change memory usage values to -Xms32000m and -Xmx32000m.
If your instance of the Web Application Platform is running on Linux, configure memory usage by following the steps outlined below.
To configure memory usage on Linux
Copy and paste the following lines to the setenv.sh file:
export CATALINA_OPTS="$CATALINA_OPTS -Xms32G" export CATALINA_OPTS="$CATALINA_OPTS -Xmx32G" |
The memory usage values (Xms32G and Xmx32G) are recommended values for Web Application Platform. You do not have to change them. |