Upgradeconfig Fails With "java.lang.OutOfMemoryError: Java heap space"

(Doc ID 1900691.1)

Last updated on DECEMBER 08, 2017

Applies to:

Oracle API Gateway - Version 11.1.2 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 /lab/OEG_111161/enterprisegateway -o /lab/upgraded
ERROR   23/Apr/2014:16:31:39.561 [0001] java exception:
java.lang.OutOfMemoryError: Java heap space



Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms