adcfgclone java.lang.OutOfMemoryError: Java heap space

Environment: 
Oracle EBS R12.2.5 
Oracle Linux 7

Issue:
When running adcfgclone on appstier with dualfs option below error occurred at a stage of weblogic EBS_DOMAIN creation,

Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Arrays.java:2694)
at java.lang.String.<init>(String.java:203)
at java.io.BufferedReader.readLine(BufferedReader.java:349)
at java.io.BufferedReader.readLine(BufferedReader.java:382)
at com.oracle.cie.common.util.CRLF.readData(CRLF.java:129)
at com.oracle.cie.common.util.CRLF.processFile(CRLF.java:67)


Solution:
we tried defining the variable value like in below combinations but the issue persists. 

export CONFIG_JVM_ARGS="-Xms512m -Xmx1024m"
MEM_ARGS="-Xms512m -Xmx1024m -XX:+UseParalle lGC"
MEM_ARGS="-Xms512m -Xmx1024m"
export CONFIG_JVM_ARGS="-Xms1024m -Xmx2048m"

Later it was identified to be abnormal growth of a file in $EBS_DOMAIN_HOME. File -- aferror.log consumed more space (size was around 4GB)

After moving that file, completed pre-clone in source.
Taken fresh backup and this time cloning was successful in appsTier. 

No comments:

Post a Comment