In larger environments, it may be necessary to increase the memory allocation to the OneClick Webapp Client so that it will perform better and in some cases not crash due to out of memory conditions. This document will show how to increase the Spectrum WebTomcat memory allocation from the default 1024m to the desired amount (ex. 2048m, 3072m ..etc)
Release : 20.2.x
Component : SPCOCK : Spectrum OneClick
The memory allocation for the OneClick Webapp is specified within the WebSwing configuration file webswing.config.
There are 2 ways to update the value
Edit: $SPECROOT/webtomcat/webswing/webswing.config
Search for: "vmArgs"
Change: -Xmx1024m -TO- -Xmx2048m (or higher if needed)
Restart Webtomcat
cd $SPECROOT/webtomcat/bin
./stopWebTomcat.sh
./startWebTomcat.sh
Example change from 2GB to 4GB
Note: Each instance of the Webapp launched runs a separate java instance on the OneClick server. Make sure the
Server has enough memory available for the webapp instances.