-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increase Xmx used by JRuby during Rake execution to 4Gb #16911
Conversation
Quality Gate passedIssues Measures |
💚 Build Succeeded
cc @andsel |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM thanks!
@andsel mostly curious, any idea what changed that suddenly makes us require more heap for builds from main? Kind related, how far back should it be backported? |
@dliappis looking at last part of the execption:
the problems comes from JRuby JZip deflater that tries to allocate triple the space it allocate before https://github.com/jruby/jruby/blob/97d04a057681b893705f2d08c5c9cf8ccca729c5/core/src/main/java/org/jruby/ext/zlib/JZlibDeflate.java#L323, but that code is untouched for years. So I don't think that's the source. I don't know which changes could have generated this, maybe some other Ruby Gems or jars that increased in size, but my is just speculation. @jsvd do you have better guess on this? |
@logstashmachine backport 8.x |
(cherry picked from commit 58e6dac)
) (cherry picked from commit 58e6dac) Co-authored-by: Andrea Selva <[email protected]>
@logstashmachine backport 8.17 |
(cherry picked from commit 58e6dac)
@logstashmachine backport 8.16 |
(cherry picked from commit 58e6dac)
@logstashmachine backport 7.17 |
(cherry picked from commit 58e6dac)
) (cherry picked from commit 58e6dac) Co-authored-by: Andrea Selva <[email protected]>
) (cherry picked from commit 58e6dac) Co-authored-by: Andrea Selva <[email protected]>
) (cherry picked from commit 58e6dac) Co-authored-by: Andrea Selva <[email protected]>
Release notes
[rn:skip]
What does this PR do?
Increase to 4Gb the max heap memory used by JVM to run JRuby's Rake during DRA.