Discussion
Upgrade from 6.1 SP2 to 7.1.7 - Could not reserve enough space for object heap
Issue while upgrading from 6.1 SP2 to Pega 7.1.7
Approach : Single schema to Split schema
Issue faced
We are facing the below issue while Executing the PEGA Upgrade Wizard (IUA) from a Windows Server 2008:
Run Update Wizard:
[java] Could not create the Java virtual machine.
[java] Error occurred during initialization of VM
[java] Could not reserve enough space for object heap
BUILD FAILED
F:\PRPC717\PRPC717_fullversion\pegaGuiInstallerTemp\build.xml:83: The following error occurred while executing this line:
F:\PRPC717\PRPC717_fullversion\scripts\setupDatabase.xml:319: The following error occurred while executing this line:
F:\PRPC717\PRPC717_fullversion\scripts\setupDatabase.xml:2284: Java returned: 1
Total time: 234 minutes 15 seconds
Below are the Application details :
Current PEGA environment : PEGA 6.1 SP2
Upgrade version : PEGA 7.1.7, 64 bit JVM
Database: DB2/AIX64
Split schema approach : Yes
Rule schema name : RXPQ
Data schema name : RXRF
4 GB RAM
Enough disk space (PEGA recommendation is > 6 GB)
JVM version: 1.6.0_06 (build 1.6.0_06-b02)
Solution tried but failed
Updated the memory in the machine to Min – 512 MB and Max – 1536 MB which is also mentioned as a Resolution per PDN link below. https://pdn.pega.com/support-articles/could-not-reserve-enough-space-object-heap
**Moderation Team has archived post**
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Hello Srinivasan
This looks like a memory issue in the box. have a look in this support article.
https://pdn.pega.com/support-articles/could-not-reserve-enough-space-object-heap
Please not the memory issue which is mentioned here is not for the application server, it is applicable for the box from which the upgrade scripts are running.
In the resolution of the support article it is mentioned to keep minimum heap size to 512 mb, however generally we keep the minimum heap size to 2048mb and maximum 4096mb, so if you have enough memory in the box you can increase it.
Regards,
Sandeep