Output Post Processor Fails Due To java.lang.OutOfMemoryError: ZIP002:OutOfMemoryError, MEM_ERROR in deflate_init2 (Doc ID 734488.1)

Last updated on JUNE 24, 2016

Applies to:

BI Publisher (formerly XML Publisher) - Version 11.5 to 12.0 [Release 11.5 to 12.0]
IBM AIX on POWER Systems (32-bit)
Oracle XML Publisher - Version: 11.5
Oracle XML Publisher - Version: 12.0
IBM AIX Based Systems (32-bit)
AIX Based Systems (32-bit)
EXECUTABLE:XDOREPPB - Generate PDF from XML output and given template
Checked for relevance on 07-DEC-2013


Certain XML Publisher related reports are failing though rerunning the same job makes it complete successfully and generates the expected output file.

The concurrent request log file of a failed job shows the following error:

+------------- 1) PUBLISH -------------+
Beginning post-processing of request 46820325 on node IRCWAIXP04 at 31-JUL-2008 15:15:38.
Post-processing of request 46820325 failed at 31-JUL-2008 15:15:38 with the error message:
One or more post-processing actions failed. Consult the OPP service log for details.

The Output Post Processor log file can be determine as per the instructions from <note 364547.1>  Troubleshooting Oracle XML Publisher for Oracle Applications 11i. Within this log file the following error is found:

[7/31/08 3:15:38 PM] [1021643:RT46820325] Executing post-processing actions for request 46820325.
[7/31/08 3:15:38 PM] [1021643:RT46820325] Starting XML Publisher post-processing action.
[7/31/08 3:15:38 PM] [1021643:RT46820325] 
Template app:  IRAR
Language:      en
Territory:     US
Output type:   PDF
[7/31/08 3:17:56 PM] [UNEXPECTED] [1021643:RT46820325] java.lang.OutOfMemoryError: ZIP002:OutOfMemoryError, MEM_ERROR in deflate_init2
at java.util.zip.Deflater.init(Native Method)
at java.util.zip.Deflater.<init>(Deflater.java(Inlined Compiled Code))
at oracle.apps.xdo.common.pdf.filter.DeflateFilter.deflate(DeflateFilter.java(Compiled Code))
at oracle.apps.xdo.generator.pdf.PDFStream.output(PDFStream.java(Compiled Code))
at oracle.apps.xdo.generator.pdf.PDFGenerator$ObjectManager.write(PDFGenerator.java(Compiled Code))
at oracle.apps.xdo.generator.pdf.PDFGenerator$ObjectManager.writeWritable(PDFGenerator.java(Inlined Compiled Code))
at oracle.apps.xdo.generator.pdf.PDFGenerator.closePage(PDFGenerator.java(Compiled Code))
at oracle.apps.xdo.generator.pdf.PDFGenerator.newPage(PDFGenerator.java(Compiled Code))
at oracle.apps.xdo.generator.ProxyGenerator.genNewPageWithSize(ProxyGenerator.java(Compiled Code))
at oracle.apps.xdo.generator.ProxyGenerator.processCommand(ProxyGenerator.java(Compiled Code))
at oracle.apps.xdo.generator.ProxyGenerator.processCommandsFromDataStream(ProxyGenerator.java(Compiled Code))
at oracle.apps.xdo.generator.ProxyGenerator.close(ProxyGenerator.java:1230)
at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:336)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1043)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5888)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3438)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3527)
at oracle.apps.fnd.cp.opp.XMLPublisherProcessor.process(XMLPublisherProcessor.java:247)
at oracle.apps.fnd.cp.opp.OPPRequestThread.run(OPPRequestThread.java:157)

[7/31/08 3:17:09 PM] [OPPServiceThread1] Post-processing request 46824024.

The problem may occur in various situations. At least two have been identified:

Note: This is a port-specific issue that is only encountered on IBM AIX Based environments that make use of the J2RE 1.4.2 IBM AIX or later.


There are no changes performed on the environment.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms