My Oracle Support Banner

Previewing PDF Generates 'java.lang.OutOfMemoryError: java heap space' Error (Doc ID 415995.1)

Last updated on AUGUST 18, 2019

Applies to:

BI Publisher (formerly XML Publisher) - Version 5.0.0 to 5.6.3 [Release 5]
Information in this document applies to any platform.
Checked for relevance on 25-AUG-2013


Symptoms

When attempting to preview an XML/BI Publisher template with an output of PDF that is approximately 12Mb in size in MS Word, the following error is generated:

Font Dir: d:\Program Files\Oracle\XML Publisher Desktop\Template Builder for Word\fonts
Run XDO Start
RTFProcessor setLocale: en-us
RTFProcessor setConfig: d:\Program Files\Oracle\XML Publisher Desktop\TemplateBuilder for Word\config\xdo.cfg
FOProcessor setData: \\icfs5\ict_projectworkarea\EPB\Phase 2\Requirements\R001
- Variance Report\04. Data\Data Version4.1\DEC-06\Budget_Variance_-_Administration.xml
FOProcessor setLocale: en-us
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at oracle.apps.xdo.common.xml.XSLT10gR1.invokeParse(XSLT10gR1.java:479)
at oracle.apps.xdo.common.xml.XSLT10gR1.transform(XSLT10gR1.java:192)
at oracle.apps.xdo.common.xml.XSLTWrapper.transform(XSLTWrapper.java:161)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:1015)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:968)
at oracle.apps.xdo.template.fo.util.FOUtility.generateFO(FOUtility.java:209)
at oracle.apps.xdo.template.FOProcessor.createFO(FOProcessor.java:1561)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:951)
at RTF2PDF.runRTFto(RTF2PDF.java:626)
at RTF2PDF.runXDO(RTF2PDF.java:460)
at RTF2PDF.main(RTF2PDF.java:251)
Caused by: java.lang.OutOfMemoryError: Java heap space

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.