Upgrade error: Initial heap size set to a larger value than the maximum heap size
search cancel

Upgrade error: Initial heap size set to a larger value than the maximum heap size

book

Article ID: 100400

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Error during upgrade: Initial heap size set to a larger value than the maximum heap size

 [exec] [exec] Error occurred during initialization of VM
[exec] [exec] Initial heap size set to a larger value than the maximum heap size

Cause

This Java error indicates that the initial JVM heap (-Xms) was larger than the (-Xmx)

Resolution

  1. Open the properties.xml and make sure that -Xms is smaller than -Xmx for the services
  2. If a memory.properties file is used in $cappm/config, open it and make sure that the lines are qualified:

defaultScriptMaxMem=2560m
defaultScriptPermGenMem=512m
 
If you're missing the 'm' at the end, the value will be in bytes and this will make it smaller maximum value than the initial heap.
 
After fixing the values, retry the upgrade.