Oracle Business Intelligence Infrastructure Installation and Configuration Guide > Configuring BI Publisher Reporting Tool > Oracle BI Publisher Desktop >

Memory Allocation for OC4J


Allocate enough memory in Oracle Containers for Java (OC4J) for running Oracle BI Publisher.

To allocate additional memory for OC4J

  1. Stop the BI Publisher server, using the command shown in Starting and Stopping BI Publisher.
  2. Navigate to OracleBI_HOME/oc4j_bi/bin.
  3. Edit the oc4j.cmd file to start OC4J with more memory.

    NOTE:  Allocate a minimum of 256 MB of memory by increasing the permanent generation memory to 128m in addition to the regular heap size.

    • Find the following line:

    set JVMARGS=-Djava.library.path=D:\OracleBI\server\Bin;D:\OracleBI\web\bin -DSAROOTDIR=D:\OracleBI -DSADATADIR=D:\OracleBIData %OC4J_JVM_ARGS%

    • In this line, between the variables -DSADATADIR=D:\OracleBIData and %OC4J_JVM_ARGS%, add the following text:

    -XX:MaxPermSize=128m -Xmx512m

  4. Save oc4j.cmd.
Oracle Business Intelligence Infrastructure Installation and Configuration Guide Copyright © 2007, Oracle. All rights reserved.