P6 Services Jobs Fail with Error 'OutOfMemoryError: Java heap space'
(Doc ID 2075892.1)
Last updated on DECEMBER 03, 2019
Applies to:Primavera Gateway - Version 18.104.22.168 to 22.214.171.124 [Release 15.1]
Primavera P6 Enterprise Project Portfolio Management - Version 126.96.36.199 and later
Information in this document applies to any platform.
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.
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
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!