You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hudi.apache.org by vh...@apache.org on 2026/05/02 22:30:49 UTC
(hudi) branch master updated: fix(ci): bump Maven heap to 8g to fix OOM in CI builds (#18618)
This is an automated email from the ASF dual-hosted git repository.
voonhous pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hudi.git
The following commit(s) were added to refs/heads/master by this push:
new cde0e3907e17 fix(ci): bump Maven heap to 8g to fix OOM in CI builds (#18618)
cde0e3907e17 is described below
commit cde0e3907e174d66476b1f001f41ef19823b7be5
Author: Hudi Agent <yi...@gmail.com>
AuthorDate: Sat May 2 15:30:42 2026 -0700
fix(ci): bump Maven heap to 8g to fix OOM in CI builds (#18618)
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.
Co-authored-by: hudi-agent <27...@users.noreply.github.com>
---
.github/workflows/bot.yml | 2 +-
azure-pipelines-20230430.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml
index 17688bc6d521..5fb047f174d4 100644
--- a/.github/workflows/bot.yml
+++ b/.github/workflows/bot.yml
@@ -209,7 +209,7 @@ jobs:
-v /var/run/docker.sock:/var/run/docker.sock \
-w /hudi \
hudi-ci \
- /bin/bash -c "MAVEN_OPTS='-Xmx4g' mvn clean install -T 2 -D$SCALA_PROFILE -D$SPARK_PROFILE -D$FLINK_PROFILE -Phudi-platform-service -Pthrift-gen-source -DskipTests=true -Dmaven.compiler.fork=true -Dmaven.compiler.maxmem=4096m -Dcheckstyle.skip=true -Drat.skip=true $MVN_ARGS"
+ /bin/bash -c "MAVEN_OPTS='-Xmx8g' mvn clean install -T 2 -D$SCALA_PROFILE -D$SPARK_PROFILE -D$FLINK_PROFILE -Phudi-platform-service -Pthrift-gen-source -DskipTests=true -Dmaven.compiler.maxmem=8192m -Dcheckstyle.skip=true -Drat.skip=true $MVN_ARGS"
- name: UT - common and other modules
env:
SCALA_PROFILE: ${{ matrix.scalaProfile }}
diff --git a/azure-pipelines-20230430.yml b/azure-pipelines-20230430.yml
index a6ed775b2c87..4b1253a30963 100644
--- a/azure-pipelines-20230430.yml
+++ b/azure-pipelines-20230430.yml
@@ -518,7 +518,7 @@ stages:
-v $(Build.SourcesDirectory):/hudi
-v /var/run/docker.sock:/var/run/docker.sock
-i docker.io/apachehudi/hudi-ci-bundle-validation-base:$(Build.BuildId)
- /bin/bash -c "mvn clean install $(MVN_OPTS_INSTALL) -Phudi-platform-service -Pthrift-gen-source
+ /bin/bash -c "MAVEN_OPTS='-Xmx8g' mvn clean install $(MVN_OPTS_INSTALL) -Phudi-platform-service -Pthrift-gen-source
&& mvn test $(MVN_OPTS_TEST) -Punit-tests -Dsurefire.failIfNoSpecifiedTests=false $(JACOCO_AGENT_DESTFILE1_ARG) -pl $(JOB10_UT_MODULES)
&& mvn test $(MVN_OPTS_TEST) -Punit-tests $(JACOCO_AGENT_DESTFILE2_ARG) -Dtest="!TestHoodie*" -Dsurefire.failIfNoSpecifiedTests=false -pl hudi-utilities
&& mvn test $(MVN_OPTS_TEST) -Pfunctional-tests -Dsurefire.failIfNoSpecifiedTests=false $(JACOCO_AGENT_DESTFILE3_ARG) -pl $(JOB10_FT_MODULES)"