Wednesday, March 10, 2010

Large AIA payloads cause java.lang.OutOfMemory in OC4J_SOA

Our application is running Oracle SOA Suite 10g (10.1.3.3.1) and AIA 2.0.1 on Red Hat Linux ES 4 x86.

A 1.4MB Sales Order EBM was going through the system and resulted in a java.lang.OutOfMemory in the OC4J_SOA container.

To resolve this, we edited the JVM settings of the OC4J_SOA container in opmn.xml as follows:

1. Add:
-XX:+UseParallelGC -XX:+UseParallelOldGC -XX:ParallelGCThreads=4 -XX:ThreadStackSize=128

2. Change:
OLD VALUE: -XX:NewSize=512m
NEW VALUE: -XX:NewSize=1228m (same as MaxNewSize)


Applicable Versions:
  • Oracle AIA Foundation Pack 2.0.1
  • Oracle SOA Suite 10g (10.1.3.3.1)

Ahmed Aboulnaga

No comments: