From 71cfd4753135f02d48b7633fca18e255efe495d6 Mon Sep 17 00:00:00 2001 From: Foivos Zakkak Date: Tue, 29 Oct 2024 14:38:34 +0200 Subject: [PATCH] Increase max heap size of Native Image builder to match Quarkus' CI Since https://github.com/quarkusio/quarkus/pull/43862 the quarkus nightly builds have started failing (stopped by the watchdog) in the analysis phase of the micrometer-prometheus integration test. The reason appears to be an increase in the memory usage of the Native Image builder due to the aforementioned change. Since Quarkus CI is already using 6g as the max heap size. It makes sense to align this workflow with that limit. --- .github/workflows/quarkus.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/quarkus.yml b/.github/workflows/quarkus.yml index 289551edb574..86ebda958508 100644 --- a/.github/workflows/quarkus.yml +++ b/.github/workflows/quarkus.yml @@ -56,7 +56,7 @@ env: DB_NAME: hibernate_orm_test DB_PASSWORD: hibernate_orm_test DB_USER: hibernate_orm_test - NATIVE_TEST_MAVEN_ARGS: "-Dtest-containers -Dstart-containers -Dquarkus.native.native-image-xmx=5g -Dnative -Dnative.surefire.skip -Dformat.skip -Dno-descriptor-tests install -DskipDocs -Dquarkus.native.container-build=false" + NATIVE_TEST_MAVEN_ARGS: "-Dtest-containers -Dstart-containers -Dquarkus.native.native-image-xmx=6g -Dnative -Dnative.surefire.skip -Dformat.skip -Dno-descriptor-tests install -DskipDocs -Dquarkus.native.container-build=false" QUARKUS_JAVA_VERSION: 17 # Use Java 17 to build Quarkus as that's the lowest supported JDK version currently QUARKUS_PATH: ${{ github.workspace }}/quarkus