Tuning : Set heap and perm for OC4J

by toy

Go to ${ORACLE_HOME}\opmn\conf\opmn.xml
And Insert “-mx1024m -Doc4j.userThreads=true -XX:MaxPermSize=128″ this parameter is inside??data node and??arrtibute??value. This is not default you??have to set it for every OC4J??instance??you??have created

CODE XML
<process-type id=”home” module-id=”OC4J” status=”enabled”>
???????????????????????????? <module-data>
?????????????????????????????????? <category id=”start-parameters”>
???????????????????????????????????????? <data id=”java-options” value=”-Xrs -server -Djava.security.policy=$ORACLE_HOME/j2ee/home/config/java2.policy -Djava.awt.headless=true -Dhttp.webdir.enable=false -mx1024m -Doc4j.userThreads=true -XX:MaxPermSize=128m“/>
?????????????????????????????????? </category>
????????????????????????????????????…
?????????????????????? </process-type>