Total Pageviews

February 8, 2019

2/08/2019 10:46:00 AM

Previewing PDF Generates 'java.lang.OutOfMemoryError: java heap space'


This error will be caused by the Java Memory Specification Parameter is ignored by Template Builder (-Xmx1024M).


1. XML Publisher installs a Template Builder and a Template Viewer for viewing templates.
2. Use the Template Viewer  as a workaround to overcome this issue:
3. Navigate to Windows -> Start -> Oracle XML Publisher Desktop -> Template Viewer
4. Modify the call of the Template Viewer via Shortcut Properties. Set target to:

"C:\Program Files\Java\jre6\bin\javaw.exe" -Xmx1300m -jar "C:\Program Files\Oracle\BI Publisher\BI Publisher Desktop\TemplateViewer\tmplviewer.jar"

Note :Check for relevant jar files in your local system
Related Posts Plugin for WordPress, Blogger...