My Oracle Support Banner

Upgradeconfig Fails With "java.lang.OutOfMemoryError: Java heap space" (Doc ID 1900691.1)

Last updated on AUGUST 01, 2023

Applies to:

Oracle API Gateway - Version and later
Information in this document applies to any platform.


Upgradeconfig runs out of memory during an upgrade from a large OEG or OAG configuration to


Example error from an upgrade of to

# ./upgradeconfig -d  <PATH>/enterprisegateway -o /<PATH>/upgraded
ERROR  <TIMESTAMP> [<THREAD ID>]  java exception:
java.lang.OutOfMemoryError: Java heap space



To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.