The default PSPermGen size in OAS is small, you may need to increase the PSPermGen size of the java heap to at least 128 megabytes. Here are the minimum memory arguments you need to specify. It's OK if your OAS environment specifies higher values:
-Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m |
Google shows these options for revising the memory options for java in OC4j:
If you're using an OPMN managed environment, you need to revise the $ORACLE_HOME/opmn/conf/opmn.xmlfile.
<ias-component id="OC4J"> <process-type id="home" module-id="OC4J" status="enabled"> <module-data> <category id="start-parameters"> <data id="java-options" value="Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m ..."/> ... </category> ... </module-data> </process-type> </ias-component> |
Revise the shell script that starts OC4J:
set JAVA_OPTS=-Xms256m -Xmx512m -XX:PermSize=128m -XX:MaxPermSize=256m java %JAVA_OPTS% -jar oc4j.jar |
These options were extracted from Oracle® Containers for J2EE Configuration and Administration Guide, 10g Release 3 (10.1.3), here's a link to the page: http://docs.oracle.com/cd/B25221_03/web.1013/b14432/diagnosis.htm#sthref509