QUICK LINKS

Support
Issue Tracker
[Services]
Questions
[uAchieve Applications]
Transferology
TES
[Training & Conferences]
Accessibility

Page tree
Skip to end of metadata
Go to start of metadata

 

Since 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. Below are the minimum memory arguments you must specify; it's okay 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:

  1. If using an OPMN managed environment, you must revise the $ORACLE_HOME/opmn/conf/opmn.xml file.

    <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>
    
  2. 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). A link to the page may be found here: http://docs.oracle.com/cd/B25221_03/web.1013/b14432/diagnosis.htm#sthref509