OutOfMemoryError When Running "Retro-Notifications Report (Enhanced) - PDF (PYXMLRNP2)" (Doc ID 2156566.1)

Last updated on JULY 21, 2016

Applies to:

Oracle Payroll - Version 12.1.3 and later
Information in this document applies to any platform.

Symptoms

Problem Statement:

When attempting to run "Retro-Notifications Report (Enhanced) - PDF", the following error occurs.

Case 1: When the value in the concurrent program definition Options is null or up to 2GB (-Xmx2018M).

Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at oracle.apps.pay.pdfgen.server.PayArchivePDF.mergeXML(PayArchivePDF.java:980)
at oracle.apps.pay.pdfgen.server.PayArchivePDF.processMultiXML(PayArchivePDF.java:857)
at oracle.apps.pay.pdfgen.server.PayArchivePDF.mergeMultipleFile(PayArchivePDF.java:782)
at oracle.apps.pay.pdfgen.server.PayArchivePDF.runProgram(PayArchivePDF.java:631)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)

Case 2: When the value in the concurrent program definition Options is set to more than 2 GB ( -Xmx2018M), the child process does not even spawn and parent process fails with the errors below.

Exception in thread "main" java.lang.OutOfMemoryError
at java.util.zip.Deflater.init(Native Method)
at java.util.zip.Deflater.<init>(Deflater.java:124)
at oracle.apps.xdo.common.pdf.filter.DeflateFilter.deflate(DeflateFilter.java:40)
at oracle.apps.xdo.generator.pdf.PDFStream.output(PDFStream.java:113)
at oracle.apps.xdo.generator.pdf.PDFGenerator$ObjectManager.write(PDFGenerator.java:2990)
at oracle.apps.xdo.generator.pdf.PDFGenerator$ObjectManager.writeWritable(PDFGenerator.java:2975)
at oracle.apps.xdo.generator.pdf.PDFGenerator.closePage(PDFGenerator.java:1141)
at oracle.apps.xdo.generator.pdf.PDFGenerator.newPage(PDFGenerator.java:1022)
at oracle.apps.xdo.generator.ProxyGenerator.genNewPageWithSize(ProxyGenerator.java:1508)
at oracle.apps.xdo.generator.ProxyGenerator.processCommand(ProxyGenerator.java:829)
at oracle.apps.xdo.generator.ProxyGenerator.processCommandsFromDataStream(ProxyGenerator.java:778)
at oracle.apps.xdo.generator.ProxyGenerator.close(ProxyGenerator.java:1230)
at oracle.apps.xdo.template.fo.FOProcessingEngine.process(FOProcessingEngine.java:349)
at oracle.apps.xdo.template.FOProcessor.generate(FOProcessor.java:1051)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.runProcessTemplate(TemplateHelper.java:5978)
at oracle.apps.xdo.oa.schema.server.TemplateHelper.processTemplate(TemplateHelper.java:3393)
at oracle.apps.pay.pdfgen.server.PayArchivePDF.processForm(PayArchivePDF.java:900)
at oracle.apps.pay.pdfgen.server.PayArchivePDF.processMultiXML(PayArchivePDF.java:860)
at oracle.apps.pay.pdfgen.server.PayArchivePDF.mergeMultipleFile(PayArchivePDF.java:782)
at oracle.apps.pay.pdfgen.server.PayArchivePDF.runProgram(PayArchivePDF.java:631)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)

 

Error occurred during initialization of VM
The size of the object heap + VM data exceeds the maximum representable size
oracle.apps.pay.pdfgen.server.PayArchivePDF
Program exited with status 1

 

 

Steps to Reproduce:

The issue can be reproduced at will with the following steps:

  1.  Run "Retro-Notifications Report (Enhanced) - PDF".
  2.  Error occurs.



Cause

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