Question

5
Replies
463
Views
TSUCK Member since 2010 123 posts
PEGA
Posted: 10 months ago
Last activity: 10 months 1 week ago
Solved

Pega 8.3 installation error (JVM Arguments Xmx4g -XX:+HeapDumpOnOutOfMemoryError)

Hi,

An installation error is happening at a Windows terminal from which I am trying to setup Pega Platform 8.3 onto a remote database using IUA (see below screenshot).

This is happening because system could not find or load a main class "Xmx4g" for JVM arguments. Below is the installation error log file.

[pega:propertyparser] data.schema.name=data
[echo] *** JVM Arguments Xmx4g -XX:+HeapDumpOnOutOfMemoryError ***
Found 12399928KB of free space on 'C:\Users\ADMINI~1\AppData\Local\Temp\2\'

This terminal is a valid JRE installed one as we have been using this for installation of prior Pega Platform version that includes 7.4, and 8.2 and it was always successful. So nothing is fundamentally wrong with its desktop environments. I have actually investigated where this "Xmx4g" guy comes from, and I identified it is in the setupDatabase.properties file. Although installation guide does not say anything about the changes about this file, but there are lots of changes made in this file between 8.3 and prior version. Below is the example of additional section that did NOT exist in 7.4.

# CUSTOM JVM ARGUMENTS
# To add custom JVM arguments, add a space-delimited list of JVM arguments in the format:
# Xmx4g <jvm1> <jvm2>
# When setting custom.jvm.args, the max heap size must be set to a minimum of 4g.
#custom.jvm.args=Xmx4g

I have experimented to see what happens if I comment out the last line to enable to reduce the memory size from 4g to 2g, but the result was the same (failure). We have enough memory available in this terminal. The installation guide says, required memory is 1.25GB to run IUA.

My question is, what is wrong with the settings and how can I proceed further. More importantly, the installation guide is incorrect in that all the changes in the setupDatabase.properties are not reflected and it has to be updated accordingly. Insights from product team is much appreciated.

Thanks,

***Moderator Edit-Vidyaranjan: Updated Platform Capability***

Low-Code App Development Installation and Deployment
Share this page LinkedIn