From 6d8eb1f416e0eb7b72415aad644fb911942aa2e4 Mon Sep 17 00:00:00 2001 From: Tariq Yusuf Date: Wed, 11 Oct 2023 12:26:36 -0700 Subject: [PATCH] Increase JVM memory percentage --- dockerfile_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dockerfile_functions.sh b/dockerfile_functions.sh index 2bc1f80a9..455a137fb 100755 --- a/dockerfile_functions.sh +++ b/dockerfile_functions.sh @@ -782,7 +782,7 @@ print_java_options() { if [ -n "${JOPTS}" ]; then cat >> "$1" <<-EOI -ENV JAVA_TOOL_OPTIONS="${JOPTS}" +ENV JAVA_TOOL_OPTIONS="${JOPTS} -XX:InitialRAMPercentage=60.0 -XX:MaxRAMPercentage=80.0" EOI fi }