XML Publisher Bursting Program fails with the below error in R12.1.3 and R12.2.x
Error occurred during initialization of VM
Could not reserve enough space for object heap
Could not create the Java virtual machine
Heap space issues are common with 32 bit JVM for Output Post Processor (OPP), since allowable heapsize limit is 2GB.
Oracle enhanced concurrent processing functionality with Release 12.1 Concurrent Processing RUP3 patchset (Patch# 22549247). A 64-bit Java Virtual Machine (JVM) is now supported for the Output Post Processor (OPP). This support allows for a larger heap size to be set, compared to the 2G heap size that 32-bit Java allows. This larger heap size will decrease out-of-memory errors. Note that the 64-bit JVM can be run for the OPP service only.
Some manual setup is required:
- You must install a 64-bit JVM of your choice for your platform. It can be installed anywhere you like. If you are already using a 64-bit JVM for any other part of Oracle E-Business Suite, you could use that one.
- There will be a new file in $FND_TOP/bin – oppjava.sh. You should edit this file and enter the full path to your 64-bit ‘java’ executable as the JSERVJAVA variable.
Example: JSERVJAVA=/home/applrt/example/jre1.8.0_131/bin/java - Set the environment variable AFOPPJVM to Y.
After restarting the managers, the OPP service will be spawned using the JVM you specified.
Reference Oracle Support notes: