From 3218617597fe7b37d820e20e63130a111dc4fb8a Mon Sep 17 00:00:00 2001 From: Thijs Broersen Date: Sun, 24 Nov 2024 09:07:59 +0100 Subject: [PATCH] add .jvmopts (JDK_JAVA_OPTIONS not working) --- .jvmopts | 4 ++++ build.sbt | 1 + 2 files changed, 5 insertions(+) create mode 100644 .jvmopts diff --git a/.jvmopts b/.jvmopts new file mode 100644 index 00000000..7933c76b --- /dev/null +++ b/.jvmopts @@ -0,0 +1,4 @@ +-XX:+PrintCommandLineFlags +-Xss2m +-Xmx6g +-XX:+UseG1GC diff --git a/build.sbt b/build.sbt index 7704d58e..f41bb10d 100644 --- a/build.sbt +++ b/build.sbt @@ -16,6 +16,7 @@ inThisBuild( List( name := "zio-logging", ciEnabledBranches := Seq("master"), + // ciJvmOptions ++= Seq("-Xmx6g", "-Xss2m", "-XX:+UseG1GC"), ciTestJobs := ciTestJobs.value.map(ciJobWithSetup) :+ compileExamplesJob.value, ciLintJobs := ciLintJobs.value.map(ciJobWithSetup), ciBuildJobs := ciBuildJobs.value.map(ciJobWithSetup),