My Oracle Support Banner

P6 Services Jobs Fail with Error 'OutOfMemoryError: Java heap space' (Doc ID 2075892.1)

Last updated on OCTOBER 29, 2024

Applies to:

Primavera Gateway - Version 15.1.0.0 to 15.1.0.0 [Release 15.1]
Primavera P6 Enterprise Project Portfolio Management - Version 8.3.2.0 and later
Information in this document applies to any platform.

Symptoms

Issue 1

When attempting to publish projects, Px Services jobs fail with the following error in the Publish Project Log:

Run on <date>

Java heap space

Also, when running the following query as privuser:

The following error is displayed in the last_error_descr column for the failed job(s):

java.lang.OutOfMemoryError: Java heap space


The issue can be reproduced at will with the following steps:
1. In P6 EPPM Web Access, right-click any project, and select Publish.
2. View the services log and observe the first error.
3. Run the above-mentioned query against the JOBSVC table.
4. Observe the second error.

 

Issue 2

Attempting to copy a project in P6 Professional fails with The job request you submitted did not complete successfully, and the P6WebAccess.html Log contains the following error:

ERROR DB Id: 1 com.primavera.jobsvc.common.JobServiceExecutable - Marking job id ### as failure
ERROR DB Id: 1 com.primavera.dbcrudutil.CopyProjectJobService - Error while running Copy Project Service:null
ERROR DB Id: 1 com.primavera.jobsvc.common.JobServiceExecutable - Job error running job of type JT_CopyService on database1
com.primavera.PhoenixException

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!


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