Layer 7 CA API Gateway - ssgbackup.sh script fails - Error: Java heap space
search cancel

Layer 7 CA API Gateway - ssgbackup.sh script fails - Error: Java heap space

book

Article ID: 265890

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

Attempting to execute the ssgbackup.sh script fails with the following error:

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
        at com.l7tech.util.HexUtils.hexDump(Unknown Source)
        at com.l7tech.util.HexUtils.hexDump(Unknown Source)
        at com.l7tech.util.HexUtils.hexDump(Unknown Source)
        at com.l7tech.gateway.config.backuprestore.p.a(Unknown Source)
        
The backup of the SSG configuration has failed.  Review the SSG log file on xxxxxxxxx at /opt/SecureSpan/Gateway/config/backup/logs

Environment

CA API Gateway

Resolution

Make the following change to the /opt/SecureSpan/Gateway/config/backup/ssgbackup.sh file

The file will show three instances of the following line:

-Xmx256m

 Increase this value accordingly for all three instances to:

-Xmx2048m

The ssgbackup.sh should complete successfully