unable to upgrade database due to error java heap space
search cancel

unable to upgrade database due to error java heap space

book

Article ID: 7931

calendar_today

Updated On:

Products

STARTER PACK-7 CA Rapid App Security CA API Gateway

Issue/Introduction

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

Environment

Release:
Component: APIGTW

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