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
- Stop the BI Publisher server, using the command shown in Starting and Stopping BI Publisher.
- Navigate to OracleBI_HOME/oc4j_bi/bin.
- 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.
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
- Save oc4j.cmd.
|