My Oracle Support Banner

Running Pasteconfig.sh Command Fails with "java.lang.OutOfMemoryError: Java heap space" (Doc ID 2754353.1)

Last updated on JUNE 01, 2023

Applies to:

Oracle Fusion Middleware - Version 11.1.2.3.0 and later
Information in this document applies to any platform.

Symptoms

While running the T2P pasteConfig.sh, the command is failing with below error in the clone log file.

clone log

Tried below options by increasing -Xmx and -Xms values but still facing the same issue.

1.Set the environment variable CONFIG_JVM_ARGS with the memory parameters for the JVM. 

export CONFIG_JVM_ARGS="-Xmx<value>m -Xms<value>m -XXMaxPermSize=<value>m"

Run the pasteConfig.sh

2. Edit unpack.sh present at /<MIDDLEWARE_HOME>/oracle_common/common/bin/ and add CONFIG_JVM_ARGS="-Xmx<value>m -Xms<value>m -XXMaxPermSize=<value>m" after "# Set the config jvm args..."

Run the pasteConfig.sh

Cause

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
Symptoms
Cause
Solution
References


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