R12.2 Apps DBA. Powered by Blogger.

ADOP Fails with OutOfMemoryError: Java Heap Space Error R12.2

No comments :
Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOfRange(Arrays.java:2694)
at java.lang.String.(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)
at com.oracle.cie.common.util.CRLF.process(CRLF.java:57)
at com.oracle.cie.domain.util.stringsub.SubsScriptHelper.processCRLF(SubsScriptHelper.java:167)
at com.oracle.cie.domain.DomainGenerator.generate(DomainGenerator.java:478)
at com.oracle.cie.domain.script.ScriptExecutor$2.run(ScriptExecutor.java:2992)
Solution
The error message below verified from CLONE2016.log collected shows the issue
The issued is resolved after setting the environment variable:
CONFIG_JVM_ARGS="-Xms1024m -Xmx2048m" and then restarting fs_clone operation.
Advised customer to set the above environment variable in .bash_profile, so that this env variable will be set always.
Introduce new context s_t2p_jvm_heap_paramters with default value -Xms1024m -Xmx2048m.
2. The log files under /EBS_domain_<SID>/servers/oacore_server1/logs are too big and cause the error.
Removing these log files can be a valid workaround as well
Solution
Run the following command in the session where adop is executed:
export CONFIG_JVM_ARGS="-Xms1024m -Xmx2048m"

No comments :

Post a Comment

Note: only a member of this blog may post a comment.