GroupWise 18.0.X Classic WebAccess
GroupWise 18.1.X Classic WebAccess
GroupWise 18.2.X Classic WebAccess
How to adjust the Tomcat Java heap size on GroupWise 18 WebAccess (Linux)
Adjusting the Java heap size can help with performance issues in certain situations. If your WebAccess server is experiencing performance problems, adjusting the Heap size is a suggested change to make.
To change the Tomcat Java Heap size in GroupWise 18 Tomcat:
- Open /etc/grpwise-tomcat/grpwise-tomcat.conf in a text editor
- Locate the JAVA_OPTS line
- Adjust the minimum and maximum heap size parameter as follows: -Xms1024m -Xmx2048m (NOTE: These numbers are a good starting point. The values used on any given server may differ, and should be adjusted to provide the best performance accordingly.)
- Save the grpwise-tomcat.conf file
- Restart tomcat with the 'rcgrpwise-tomcat restart' command
To verify tomcat took the Java heap change do the following. Do this prior to making the Java memory adjustment as well as after to compare the values.
top -p <pid number> Adjust the Java memory per the steps above. After adjusting the Java memory and restarting tomcat do steps 1 and 2 again to verify the HEAP memory was allocated. The VIRT column memory size will increase if the Java memory was allocated correctly.
- Open a terminal window on the WebAccess server
- ps aux | grep tomcat
- Take note of the pid number
- Take note of the VIRT column; this is the current allowed memory.