From d15b3668b9721b0251e8bfab77fa6f84a58618e9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 24 Jan 2025 14:54:44 +0100 Subject: [PATCH] Increase Xmx used by JRuby during Rake execution to 4Gb (#16911) (#16945) (cherry picked from commit 58e6dac94b78e82b668888303dce841a10e62478) Co-authored-by: Andrea Selva --- .buildkite/scripts/dra/common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.buildkite/scripts/dra/common.sh b/.buildkite/scripts/dra/common.sh index 0425a3c53..3e22cd6ca 100755 --- a/.buildkite/scripts/dra/common.sh +++ b/.buildkite/scripts/dra/common.sh @@ -29,7 +29,7 @@ function save_docker_tarballs { # Since we are using the system jruby, we need to make sure our jvm process # uses at least 1g of memory, If we don't do this we can get OOM issues when # installing gems. See https://github.com/elastic/logstash/issues/5179 -export JRUBY_OPTS="-J-Xmx2g" +export JRUBY_OPTS="-J-Xmx4g" # Extract the version number from the version.yml file # e.g.: 8.6.0