Discussion

2
Replies
419
Views
BHUSHANPATIL Member since 2008 47 posts
Cognizant Technology Solutions
Posted: July 11, 2016
Last activity: April 6, 2018
Closed

PRPC_Setup.jar- Could not create the Java virtual machine-[java] Could not reserve enough space for object heap

Issue Description: PRPC rules upgrade from 6.1 SP2 to 7.1.7 failing at the below mentioned state.

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\pegaGuiInstallerTemp0\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

Operating environment :

  • JRE used to run is VM Name: Java HotSpot(TM) Client VM(build 1.6.0_06-b02) - - 32 bit
  • OS: Windows Server 2008, version: 6.2, Architecture: x86
  • Database: DB2/AIX64 SQL0907B
  • JDBC Driver: IBM DB2 JDBC Universal Driver Architecture 3.64.114
  • JRE version : 32 bit
  • RAM : Initially it was 4 GB and later it was upgraded to 12 GB
  • Split schema : Yes

Description of failed attempts :

Attempt 1: Normal command prompt, with local admin user ID with elevated access and no specific heap settings to JVM, system memory as 4 GB RAM

Attempt 2: Power shell command prompt with downgraded access to user with all privileges, specific heap settings as Min : 512 MB, Max : 1024 MB and system memory as 4 GB RAM

Attempt 3: Normal command prompt, admin user id access with no heap settings and 4 GB RAM

Attempt 4: Normal command prompt, System memory upgraded from 4 GB to 12 GB, set heap size params as Min : 512 MB, Max : 1024 MB and ran again but on 32 bit jvm

Below is the command has been used to initiate upgrade wizard :
java -Xms512m -Xmx1024m -XX:PermSize=64m -XX:MaxPermSize=384m -jar PRPC_Setup.jar

Question -

with same configuration few(other) application's upgrade was successful without issue, why?

is it must to have 64bit jdk (upgrade execution only)?

what is recommonded jvm parameter to get success results ?

**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.

Low-Code App Development Upgrades
Moderation Team has archived post
Share this page LinkedIn