From 534de6dcce3ab19d13bbbe74d2cceb02631a1399 Mon Sep 17 00:00:00 2001 From: medan1 Date: Mon, 25 Sep 2023 23:12:26 +0530 Subject: [PATCH] ISSUE-117022: Set default max heap space for installer and import utility --- charts/pega/charts/installer/config/prpcUtils.properties.tmpl | 2 +- .../pega/charts/installer/config/setupDatabase.properties.tmpl | 2 +- terratest/src/test/pega/data/expectedPRPCUtils.properties.tmpl | 2 +- terratest/src/test/pega/data/expectedSetupdatabase.properties | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/charts/pega/charts/installer/config/prpcUtils.properties.tmpl b/charts/pega/charts/installer/config/prpcUtils.properties.tmpl index 1f06d94c3..2d5006410 100644 --- a/charts/pega/charts/installer/config/prpcUtils.properties.tmpl +++ b/charts/pega/charts/installer/config/prpcUtils.properties.tmpl @@ -28,7 +28,7 @@ user.temp.dir=/opt/pega/temp # CUSTOM JVM ARGS # Use this parameter to add jvm arguments other than Max Heap Size so your deployment nodes invoke these arguments each time the nodes start -custom.jvm.args={{ .Env.CUSTOM_JVM_ARGS }} +custom.jvm.args=-Xmx4g {{ .Env.CUSTOM_JVM_ARGS }} ############################### SETTINGS FOR CHANGING DYNAMIC SYSTEM SETTINGS ######## ###################################################################################### diff --git a/charts/pega/charts/installer/config/setupDatabase.properties.tmpl b/charts/pega/charts/installer/config/setupDatabase.properties.tmpl index 22514e909..7c5a0a44b 100644 --- a/charts/pega/charts/installer/config/setupDatabase.properties.tmpl +++ b/charts/pega/charts/installer/config/setupDatabase.properties.tmpl @@ -86,6 +86,6 @@ bypass.load.assembled.classes={{ .Env.BYPASS_LOAD_ASSEMBLED_CLASSES }} # Enable adminstrator user after upgrade by default. upgrade.enable.admin=true -custom.jvm.args={{ .Env.CUSTOM_JVM_ARGS }} +custom.jvm.args=-Xmx4g {{ .Env.CUSTOM_JVM_ARGS }} {{ .Env.ADVANCED_SETTINGS }} \ No newline at end of file diff --git a/terratest/src/test/pega/data/expectedPRPCUtils.properties.tmpl b/terratest/src/test/pega/data/expectedPRPCUtils.properties.tmpl index 1f06d94c3..2d5006410 100644 --- a/terratest/src/test/pega/data/expectedPRPCUtils.properties.tmpl +++ b/terratest/src/test/pega/data/expectedPRPCUtils.properties.tmpl @@ -28,7 +28,7 @@ user.temp.dir=/opt/pega/temp # CUSTOM JVM ARGS # Use this parameter to add jvm arguments other than Max Heap Size so your deployment nodes invoke these arguments each time the nodes start -custom.jvm.args={{ .Env.CUSTOM_JVM_ARGS }} +custom.jvm.args=-Xmx4g {{ .Env.CUSTOM_JVM_ARGS }} ############################### SETTINGS FOR CHANGING DYNAMIC SYSTEM SETTINGS ######## ###################################################################################### diff --git a/terratest/src/test/pega/data/expectedSetupdatabase.properties b/terratest/src/test/pega/data/expectedSetupdatabase.properties index 22514e909..7c5a0a44b 100644 --- a/terratest/src/test/pega/data/expectedSetupdatabase.properties +++ b/terratest/src/test/pega/data/expectedSetupdatabase.properties @@ -86,6 +86,6 @@ bypass.load.assembled.classes={{ .Env.BYPASS_LOAD_ASSEMBLED_CLASSES }} # Enable adminstrator user after upgrade by default. upgrade.enable.admin=true -custom.jvm.args={{ .Env.CUSTOM_JVM_ARGS }} +custom.jvm.args=-Xmx4g {{ .Env.CUSTOM_JVM_ARGS }} {{ .Env.ADVANCED_SETTINGS }} \ No newline at end of file