Skip to content

Commit aed8ab0

Browse files
andsellogstashmachine
authored andcommitted
Increase Xmx used by JRuby during Rake execution to 4Gb (#16911)
(cherry picked from commit 58e6dac)
1 parent 2002e93 commit aed8ab0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.buildkite/scripts/dra/common.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ function save_docker_tarballs {
2929
# Since we are using the system jruby, we need to make sure our jvm process
3030
# uses at least 1g of memory, If we don't do this we can get OOM issues when
3131
# installing gems. See https://github.com/elastic/logstash/issues/5179
32-
export JRUBY_OPTS="-J-Xmx2g"
32+
export JRUBY_OPTS="-J-Xmx4g"
3333

3434
# Extract the version number from the version.yml file
3535
# e.g.: 8.6.0

0 commit comments

Comments
 (0)