My Oracle Support Banner

Error: 'java.lang.OutOfMemoryError: Java heap space' When Running an Internal API Application (XML Export/Import, Claim Digger/Schedule Comparison, Update Baseline) from P6 Professional (Doc ID 1347784.1)

Last updated on JULY 13, 2020

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 7.0 to 8.3.9.0 [Release 7.0 to 8.3]
Information in this document applies to any platform.

Symptoms

When attempting to run an internal API application (XML Export/Import or Claim Digger/Schedule Comparison or Update Baseline) the following error occurs:

(Claim Digger/Schedule Comparison Error)

Event code 80C6CE70 [Class=java.lang.OutOfMemoryError] Java heap space.

Note, Claim Digger also exhibits behavior where it never gets past 80% when comparing Relationships.


(General Error)

java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.io.ByteArrayOutputStream.write(Unknown Source)
at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
at java.io.BufferedOutputStream.write(Unknown Source)
at java.io.PrintStream.write(Unknown Source)
at sun.nio.cs.StreamEncoder.writeBytes(Unknown Source)
at sun.nio.cs.StreamEncoder.implFlushBuffer(Unknown Source)
at sun.nio.cs.StreamEncoder.flushBuffer(Unknown Source)
at java.io.OutputStreamWriter.flushBuffer(Unknown Source)
at java.io.PrintStream.write(Unknown Source)
at java.io.PrintStream.print(Unknown Source)
at com.primavera.integration.client.xml.xmlexporter.c.a(BusinessObjectExporter.java:852)
at com.primavera.integration.client.xml.xmlexporter.c.a(BusinessObjectExporter.java:687)
at com.primavera.integration.client.xml.xmlexporter.a.F.a(ResourceAssignmentExporter.java:67)
at com.primavera.integration.client.xml.xmlexporter.c.c(BusinessObjectExporter.java:1818)
at com.primavera.integration.client.xml.xmlexporter.b.e(ProjectChildObjectsExporter.java:1086)
at com.primavera.integration.client.xml.xmlexporter.b.a(ProjectChildObjectsExporter.java:196)
at com.primavera.integration.client.xml.xmlexporter.b.f.a(ProjectBaseExporter.java:126)
at com.primavera.integration.client.xml.xmlexporter.e.a(FullProjectExporter.java:300)
at com.primavera.integration.client.xml.xmlexporter.XMLExporter.exportFullProject(XMLExporter.java:316)
at com.primavera.integration.app.importexport.ImportExportAction.int(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportAction.new(Unknown Source)
at com.primavera.integration.app.importexport.ImportExportMain.main(Unknown Source)

This example shows stack trace from an XML export/import, but its the same root message for all internal API applications.

Changes

 

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
Changes
Cause
Solution
References


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