java.lang.OutOfMemoryError: allocLargeObjectOrArray: [C, size 16400

Issue –> when your bpel process is having more no of loops, then you will get this error.

Error –> 

java.lang.OutOfMemoryError: allocLargeObjectOrArray: [C, size 16400 at java.util.Arrays.copyOf(Arrays.java:2882) at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100) at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:515) at java.lang.StringBuilder.append(StringBuilder.java:189) at com.collaxa.common.util.StringWriter.write(StringWriter.java:49) at oracle.xml.parser.v2.XMLOutputStream.flush(XMLOutputStream.java:373) at oracle.xml.parser.v2.XMLOutputStream.finalFlush(XMLOutputStream.java:898) at oracle.xml.parser.v2.XMLOutputStream.close(XMLOutputStream.java:467) at oracle.xml.parser.v2.XMLOutputStream.close(XMLOutputStream.java:440) at oracle.xml.parser.v2.XMLPrintDriver.close(XMLPrintDriver.java:820) at com.collaxa.cube.xml.dom.DOMUtil.xmlNode2String(DOMUtil.java:682) at com.collaxa.cube.xml.dom.DOMUtil.toXML(DOMUtil.java:647) at com.collaxa.cube.engine.ext.bpel.common.BaseDetailsFormatter.write(BaseDetailsFormatter.java:152) at com.collaxa.cube.engine.ext.bpel.common.BaseDetailsFormatter.write(BaseDetailsFormatter.java:89) at com.collaxa.cube.engine.ext.bpel.common.BaseDetailsFormatter.formatVariable(BaseDetailsFormatter.java:78) at com.collaxa.cube.engine.ext.bpel.common.BaseDetailsFormatter.format(BaseDetailsFormatter.java:66) at com.collaxa.cube.engine.audit.AuditHelper.doLogEvent(AuditHelper.java:187) at com.collaxa.cube.engine.audit.AuditHelper.logEvent(AuditHelper.java:141) at com.collaxa.cube.engine.ext.bpel.common.BPELWMPLogHelper.logExecuteSuccess(BPELWMPLogHelper.java:156) at

Solution –> 

Change the Audit trails to ‘minimum’.

Navigation #

Login to your Em console ,

Click on SOA -> SOA-infra -> right click -> SOA Administration -> BPEL properties – > Audit Trails value to ‘minimum.

Change the values for “AuditFlushByteThreshold” to 6048000 (default 2 MB)and “AuditFlushEventThreshold” to 600 (default 300)and Click on Apply.

Navigation #

Click on SOA -> SOA-infra -> right click -> SOA Administration -> BPEL properties – >More BPEL Configuration properties.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s