OTK upgrade fails with Java Heap Space
search cancel

OTK upgrade fails with Java Heap Space

book

Article ID: 404600

calendar_today

Updated On:

Products

CA API Gateway

Issue/Introduction

OTK upgrade fails with Java Heap Space message.

"2025-07-08T16:08:39.179+0200 INFO    430 com.l7tech.server.admin.AsyncAdminMethodsImpl: Asynchronous job JobId<java.lang.String>:77b5897672f6ed8218c9cc24858b53931c4bddd83c500dcbfd1ed1c0e0645f0b threw an exception: Java heap space"

Environment

All Supported versions of API Gateway (Software Form-factor)

OTK 4.6.4

Resolution

Adjust the java heap size by modifying the file /opt/SecureSpan/Gateway/node/default/etc/conf/node.properties to include: node.java.heap=X

    • It is recommended that X = half the MBs of the Gateway's allocated memory.

Eg: If the Allocated Memory for the VM is 16GB then set the java heap space to 8GB.

node.java.heap=8192