Search This Blog

Sunday, December 11, 2011

SOA 11g java.lang.OutOfMemoryError

11G is running java 1.6 which is already 64-bit enabled. So, all you need to do to resolve 'out of memory' errors is increase java start up parameters in setSOADomainEnv.sh script to required values, for example change from
DEFAULT_MEM_ARGS="-Xms768m -Xmx1536m"and PORT_MEM_ARGS="-Xms768m -Xmx1536m"toDEFAULT_MEM_ARGS="-Xms768m -Xmx3072m"and PORT_MEM_ARGS="-Xms768m -Xmx3072m" If after JDK upgrade you are still getting 'out of memory' errors or if upgrade is not possible then you need to perform SOA capacity planning, setup SOA cluster and start adding nodes to your cluster based on estimated load.

The above is applicable to JRockit as well.

No comments:

Post a Comment