Upgrade to WL 11g/java6/EP6.2.2
Current setup: WL 9.2, java 5, EP 6.2.0 upgrade to WL 10.3.3 and java 6 (staying on 6.2.0) 32 bit.
Now we are running into an OOM error during load tests, 3/4 app servers in the cluster were crashed. something about
org.apache.velocity.runtime.directive.Foreach.render(Lorg/apache/velocity/context/InternalContextAdapter;Ljava/io/Writer;Lorg/apache/velocity/runtime/parser/node/Node;)Z
(529 bytes) in the hs_err_pid.log
It seems this is a bug on java 6.18+ http://bugs.sun.com/view_bug.do?bug_id=6973402
However, when we added below to jvm startup
-XX:CompileCommand=exclude,org/apache/velocity/runtime/directive/Foreach,render