When you go into eBusiness Suite and look in the SOA Monitor you will see a java exception:
Error description SYSTEM_ERROR Error details java.lang.OutOfMemoryError: Java heap space at java.util.Arrays.copyOfRange(Arrays.java:3209) at java.lang.String.<init>(String.java:216) at java.lang.StringBuilder.toString(StringBuilder.java:430)....
To fix this problem we need to increase the java heap space for the JVM oafm (the default value is 256MB). The below instructions will set it to 1GB.
- Open $ORA_CONFIG_HOME/10.1.3/opmn/conf/opmn.xml
- Find the row that starts with <process-type id="oafm" module-id="OC4J" status="enabl...
- Under start-parameters change:
- <data id="java-options" value="-server -verbose:gc -Xmx256M... to <data id="java-options" value="-server -verbose:gc -Xmx1024M... - Under stop-parameters change:
- <data id="java-options" value="-server -verbose:gc -Xmx256M... to <data id="java-options" value="-server -verbose:gc -Xmx1024M... - Restart the opmn
$ADMIN_SCRIPTS_HOME/adopmnctl.sh stopall
$ADMIN_SCRIPTS_HOME/adopmnctl.sh startall
Sources
- Note 1073270.1: Timeout Errors when Deploying Web Services
- Note 362851.1: Guidelines to setup the JVM in Apps Ebusiness Suite 11i and R12
- Note 567551.1: Configuring various JVM tuning parameters for Oracle E-Business suite 11i and R12
- How To Identify/Determine The Maximum JVM Heap Size For OC4j Components In R12 / 10gAS
- How To Change Java Heap Size In R12 To Avoid Java.Lang.OutOfMemoryError: Java Heap Space Error?
No comments:
Post a Comment