The OneClick server does not react on requests anymore and Out Of Memory messages are seen in tomcat log

Document ID : KB000009637
Last Modified Date : 14/02/2018
Show Technical Document Details
Introduction:

The OneClick server does not react on requests anymore and Out Of Memory messages are seen in the tomcat log.

Background:

After the upgrade from Spectrum 9.3 to 9.4 we can see the following message in the $SPECROOT/tomcat/logs/catalina.out (unix) and $SPECROOT/tomcat/logs/stdout.log file:

"java.lang.OutOfMemoryError: Java heap space"

Instructions:

The environment variable "_Java_Options" was set to the value "-XMS512". With this setting the maximum Java memory was overwritten. It was not enough and therefore created the error. This setting was completely removed and a correspondent setting was inserted in the OneClickService.conf under <$SPECTRUMROOT>/tomcat/bin edit: jvm_opt=-Xmx1280M

Because Java will have issues with a too high value, it was only increased to 1280M.