This is an automated email from the ASF dual-hosted git repository.

yihua pushed a commit to branch release-1.2.0
in repository https://gitbox.apache.org/repos/asf/hudi.git

commit 6388ba6327a0c930362df43e8faf7f9a0961c331
Author: Hudi Agent <[email protected]>
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 <[email protected]>
---
 .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)"

Reply via email to