Increase Xmx used by JRuby during Rake execution to 4Gb#16911
Increase Xmx used by JRuby during Rake execution to 4Gb#16911andsel merged 1 commit intoelastic:mainfrom
Conversation
|
💚 Build Succeeded
cc @andsel |
|
@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)
|
@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)





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.