Speed up Clarity upgrade on Large Datasets
search cancel

Speed up Clarity upgrade on Large Datasets

book

Article ID: 187775

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

How to increase install scripts' JVM size to speed up the installation/upgrade on Large Datasets?
The install scripts for an upgrade may take many hours on a large datasets.
To avoid it from being slow, configure a memory.properties file that could use more memory for this script and speed up the execution. 

Environment

Release : All Supported Clarity releases

Resolution

  • Create a text file memory.properties and add the two memory settings as follows in there in plain text
  • Examples that you might want to add to your memory.properties file:
defaultScriptMaxMem=2560m
defaultScriptPermGenMem=512m

or

defaultScriptMaxMem=5120m
defaultScriptPermGenMem=512m
  • You can use any different values, just ensure that you have enough RAM on this server to account for it. See attached example
  • Place the created text file in $clarity/config prior to the upgrade.  Once the upgrade is started, it will use the JVM from this file. This will speed up bootstrap and other slower areas of the upgrade
  • Note: The default values are 1024m and 128m, we want to set up higher values. 

Additional Information

Attachments

1585745732340__memory.properties get_app