fix(ci): bump Maven heap to 8g to fix OOM in CI builds#18618
Merged
Conversation
Increase MAVEN_OPTS heap from 4g to 8g and compiler maxmem from 4096m to 8192m in GitHub Actions bot.yml. Also add -Xmx8g to the Azure Pipelines bundle validation build step.
Collaborator
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #18618 +/- ##
=========================================
Coverage 65.43% 65.43%
- Complexity 23436 23446 +10
=========================================
Files 2047 2047
Lines 116919 116919
Branches 15206 15203 -3
=========================================
Hits 76506 76506
+ Misses 33467 33464 -3
- Partials 6946 6949 +3
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Describe the issue this Pull Request addresses
CI builds intermittently fail with OOM errors during the Maven install step. The current heap settings (4g for MAVEN_OPTS, 4096m for compiler maxmem) are insufficient for the hudi-utilities tests.
Summary and Changelog
Increase Maven JVM heap to prevent OOM failures in CI for hudi-utilities tests:
MAVEN_OPTSfrom-Xmx4gto-Xmx8g, compilermaxmemfrom4096mto8192mMAVEN_OPTS='-Xmx8g'for the bundle validation build stepImpact
No user-facing changes. Only affects CI build infrastructure.
Risk Level
none
Documentation Update
none
Contributor's checklist