You notice that WorldServer performance is impacted during peak traffic times, and response or processing times appear longer than normal. |
You can adjust the startup parameters to increase the max heap when WorldServer starts. For 32 bit environments, the max heap can be up to approximately 1/3 of the available memory, while for 64-bit environments there is no such restriction. These are the values to allocate 2 GB: XX:MaxPermSize=256m -Xmx2048m 4 GB: XX:MaxPermSize=256m -Xmx4096m 8 GB: XX:MaxPermSize=256m -Xmx8192m To apply the change, follow these steps:
\WORLDS~1\tomcat\bin\bootstrap.jar;C:\PROGRA~1\Idiom\WORLDS~1\tomcat\bin\tomcat-juli.jar;C:\PROGRA~1\Idiom\WORLDS~1\jre\lib \tools.jar -Dcatalina.base=C:\PROGRA~1\Idiom\WORLDS~1\tomcat -Dcatalina.home=C:\PROGRA~1\Idiom\WORLDS~1\tomcat - Djava.io.tmpdir=C:\FTS_SH~1\temp org.apache.catalina.startup.Bootstrap start ;Working Dir: Retries: 10
You can list the available commands for idiomrun by typing idiomrun -? in the command line.Also, you can get an idea about your memory usage with debug.jsp . Modify the WorldServer URL to match this URL example: http://[server]:[port]/ws/debug.jsp?secret=[Database User ID] - for example: http://mytestserver:8080/ws/debug.jsp?secret=dbadminThe information output starts server and memory information: General Information:
|
By default, WorldServer's java max heap setting is 1024MB, which is often insufficient to handle a production workload. |
For WorldServer 10.4.5. and later: How to change the Java Heap Memory in WorldServer 10.4.5. and later |