unable to upgrade database due to error java heap space

Document ID : KB000007931
Last Modified Date : 14/02/2018
Show Technical Document Details
Issue:

While trying to upgrade the gateway you might come across this error "unable to upgrade database due to error java heap space "

Resolution:

1) Make a backup copy of /opt/SecureSpan/Appliance/libexec/ssgconfig_launch

2) Modify this line in the ssgconfig_launch file to read export OPTIONS="${JAVA_OPTS} -Xmx256m -Dcom.l7tech.gateway.config.clearConsole=true"

3) Execute this command: sudo -u layer7 /opt/SecureSpan/Appliance/libexec/ssgconfig_launch -databaseUgrade

4) If this fails with the same Java Heap error change the -Xmx value to 512m