- When an BI Publisher report completes with Out of memory issue it can be at 2 Levels.
- XML Data generation
- Report Generation from XML data.
- This Document will cover the Solutions for below Program errors in the Log file.
‘****Warning!!! Due to high volume of data, got out of memory exception…*** |
- XML Data Generation :
- Increase the memory of Concurrent Program Definition as below:
- Navigate to System Administrator > Concurrent > Program > Define.
- Query for the Failed Concurrent Program
- Set the Options field to “-Xmx2048M” (Note: Do not miss the dash before the X)
- Save
- Bouncing the Concurrent Manager is optional.
- Run the report with ScalableFlag as “Y” and Debugflag as “Y” with Step1 in place.
- Steps to Setup ScalableFlag
- Navigate to System Administrator > Concurrent > Program > Define.
- Query for the Failed Concurrent Program.
- Click on parameters.
- Add a new Parameter with Below values.
Parameter |
P_SCALABLE_FLAG |
Description | ScalableFlag |
Enabled | Check |
Default Type | Constant |
Default Value | Yes |
Prompt | P_SCALABLE_FLAG |
Token |
ScalableFlag |
- Steps to Setup Debugflag
- Navigate to System Administrator > Concurrent > Program > Define.
- Query for the Failed Concurrent Program.
- Click on parameters.
- Add a new Parameter with Below values.
Parameter | P_DEBUG_FLAG |
Description | DebugFlag |
Enabled | Check |
Default Type | Constant |
Default Value | Yes |
Prompt | P_DEBUG_FLAG |
Token |
DebugFlag |
- When we run the report again with newly added parameters the log should show the below.
- Report SQL.
- It should show Calling XDO Data Engine and Scalable Mode on.
- Report Generation from XML data
- If XML Generation is Fine and OPP fails with “java.lang.OutOfMemoryError” Exception.
- Change the Following values from XML Publisher Administrator.
Responsibility=>Administration UI General => Temporary directory => \tmp FO Processing=> |
- Check the Heap size of OPP JVM.
SQL> select DEVELOPER_PARAMETERS DEVELOPER_PARAMETERS SQL>Commit; |