From da4084bb1fd2a6ddcf65c40405d126c49d3146fd Mon Sep 17 00:00:00 2001 From: purelind Date: Sun, 1 Dec 2024 14:42:42 +0800 Subject: [PATCH 1/2] chore: add jvm xmx to 16g --- apps/prod/jenkins/release/values-controller.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/prod/jenkins/release/values-controller.yaml b/apps/prod/jenkins/release/values-controller.yaml index b406b5676..dafe42b24 100644 --- a/apps/prod/jenkins/release/values-controller.yaml +++ b/apps/prod/jenkins/release/values-controller.yaml @@ -30,7 +30,7 @@ controller: # current jenkins using java-11. # Set min/max heap here if needed with: javaOpts: >- - -Xms8192m -Xmx8192m -XX:+UseG1GC -XX:+AlwaysPreTouch + -Xms16g -Xmx16g -XX:+UseG1GC -XX:+AlwaysPreTouch -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+DisableExplicitGC -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions From a4f312dd6d927a29af6d2eb7f09f811c165bf65e Mon Sep 17 00:00:00 2001 From: purelind Date: Sun, 1 Dec 2024 14:50:55 +0800 Subject: [PATCH 2/2] chore: add java opts --- apps/prod/jenkins/release/values-controller.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/prod/jenkins/release/values-controller.yaml b/apps/prod/jenkins/release/values-controller.yaml index dafe42b24..93ce4da75 100644 --- a/apps/prod/jenkins/release/values-controller.yaml +++ b/apps/prod/jenkins/release/values-controller.yaml @@ -30,7 +30,7 @@ controller: # current jenkins using java-11. # Set min/max heap here if needed with: javaOpts: >- - -Xms16g -Xmx16g -XX:+UseG1GC -XX:+AlwaysPreTouch + -XX:+UseContainerSupport -XX:InitialRAMPercentage=20.0 -XX:MaxRAMPercentage=60.0 -XX:+UseG1GC -XX:+AlwaysPreTouch -XX:+UseStringDeduplication -XX:+ParallelRefProcEnabled -XX:+DisableExplicitGC -XX:+UnlockExperimentalVMOptions -XX:+UnlockDiagnosticVMOptions