When trying to access the One Click client the Spectrum user may receive a memory heap error:
Invalid maximum heap size: -Xmx4096M
The specified size exceeds the maximum representable size.
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
32-bit memory limitations do not allow the java process to allocate enough memory when the value is set too high.
The problem can be solved by editing the memory heap size in the following two (2) files:
1. Edit the catalina.sh file and reduce the java memory setting from –Xmx4096M to –Xmx3072M or –Xmx2048M
2. Edit tomcat-server-config.xml and reduce the java memory setting (to match the catalina.sh setting) from –Xmx4096M to –Xmx3072M or –Xmx2048M
3. Save the files
4. Restart the tomcat process (if the tomcat process does not start, you may need to lower the memory setting further).
4. Access One Click client
This issue is not present on 64-bit machines.