Skip to content

fix(ci): bump Maven heap to 8g to fix OOM in CI builds#18618

Merged
voonhous merged 1 commit into
apache:masterfrom
hudi-agent:fix-ci-maven-heap-oom
May 2, 2026
Merged

fix(ci): bump Maven heap to 8g to fix OOM in CI builds#18618
voonhous merged 1 commit into
apache:masterfrom
hudi-agent:fix-ci-maven-heap-oom

Conversation

@hudi-agent
Copy link
Copy Markdown
Contributor

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:

  • bot.yml: Bump MAVEN_OPTS from -Xmx4g to -Xmx8g, compiler maxmem from 4096m to 8192m
  • azure-pipelines-20230430.yml: Set MAVEN_OPTS='-Xmx8g' for the bundle validation build step

Impact

No user-facing changes. Only affects CI build infrastructure.

Risk Level

none

Documentation Update

none

Contributor's checklist

  • Read through contributor's guide
  • Enough context is provided in the sections above
  • Adequate tests were added if applicable

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.
@hudi-agent hudi-agent marked this pull request as ready for review April 27, 2026 20:02
Copy link
Copy Markdown
Contributor

@yihua yihua left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hudi-bot
Copy link
Copy Markdown
Collaborator

CI report:

Bot commands @hudi-bot supports the following commands:
  • @hudi-bot run azure re-run the last Azure build

@codecov-commenter
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 65.43%. Comparing base (4bdcdf9) to head (5db3854).
⚠️ Report is 3 commits behind head on master.

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     
Flag Coverage Δ
hadoop-mr-java-client 44.82% <ø> (-0.02%) ⬇️
spark-client-hadoop-common 48.40% <ø> (+<0.01%) ⬆️
spark-java-tests 48.64% <ø> (+0.01%) ⬆️
spark-scala-tests 44.69% <ø> (-0.01%) ⬇️
utilities 37.70% <ø> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.
see 13 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@github-actions github-actions Bot added the size:XS PR with lines of changes in <= 10 label Apr 27, 2026
@voonhous voonhous merged commit cde0e39 into apache:master May 2, 2026
120 of 123 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS PR with lines of changes in <= 10

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants