From 48747d6461224d7feaa167048d6cfa6cfd7f2935 Mon Sep 17 00:00:00 2001 From: Louis Bergelson Date: Mon, 14 Oct 2024 10:49:42 -0400 Subject: [PATCH] adding gradle.properties to configure daemon memory --- Dockerfile | 2 +- gradle.properties | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 gradle.properties diff --git a/Dockerfile b/Dockerfile index 437ffa66e47..6349f4088fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -73,7 +73,7 @@ RUN echo "source activate gatk" > /root/run_unit_tests.sh && \ echo "mkdir /gatk/srcdir" >> /root/run_unit_tests.sh && \ echo "cp -rp /gatkCloneMountPoint/src/main/java/* /gatk/srcdir" >> /root/run_unit_tests.sh && \ echo "export SOURCE_DIR=/gatk/srcdir" >> /root/run_unit_tests.sh && \ - echo "export GRADLE_OPTS=\"-Xmx2024m -Dorg.gradle.daemon=false --add-opens java.prefs/java.util.prefs=ALL-UNNAMED\"" >> /root/run_unit_tests.sh && \ + echo "export GRADLE_OPTS=\"-Xmx1024m -Dorg.gradle.daemon=false --add-opens java.prefs/java.util.prefs=ALL-UNNAMED\"" >> /root/run_unit_tests.sh && \ echo "export CP_DIR=/gatk/testClasses" >> /root/run_unit_tests.sh && \ echo "ln -s /gatkCloneMountPoint/src/ /gatkCloneMountPoint/scripts/docker/src" >> /root/run_unit_tests.sh && \ echo "ln -s /gatkCloneMountPoint/build/ /gatkCloneMountPoint/scripts/docker/build" >> /root/run_unit_tests.sh && \ diff --git a/gradle.properties b/gradle.properties new file mode 100644 index 00000000000..d7a34a5028f --- /dev/null +++ b/gradle.properties @@ -0,0 +1 @@ +org.gradle.jvmargs=-Xmx2g