Skip to content

Commit

Permalink
Increase Jruby -Xmx to avoid OOM during zip task in DRA (#16408) (#16409
Browse files Browse the repository at this point in the history
)

Fix: #16406
(cherry picked from commit 6e93b30)

Co-authored-by: kaisecheng <69120390+kaisecheng@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and kaisecheng committed Aug 28, 2024
1 parent 0f43da1 commit bf220b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .buildkite/scripts/dra/common.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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-Xmx1g"
export JRUBY_OPTS="-J-Xmx2g"

# Extract the version number from the version.yml file
# e.g.: 8.6.0
Expand Down

0 comments on commit bf220b6

Please sign in to comment.