From 7824bdef475b4ad0a04aa917c9ad6073ca15c30b Mon Sep 17 00:00:00 2001 From: takaharu-nakase Date: Thu, 30 Jul 2026 14:10:23 +0900 Subject: [PATCH] Bump the memory leak check heap to fit Gradle 9 script compilation on current runners The stress test OOMs on run number 1 while compiling sample-groovy/buildSrc/build.gradle.kts, on unmodified main too, so 150M no longer fits the baseline footprint and the check fails for every PR. Co-Authored-By: Claude Fable 5 --- .github/workflows/check-build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check-build.yml b/.github/workflows/check-build.yml index 317a51bd7..1e46a1241 100644 --- a/.github/workflows/check-build.yml +++ b/.github/workflows/check-build.yml @@ -125,7 +125,7 @@ jobs: - name: "Check for memory leaks" if: ${{ github.event_name != 'workflow_dispatch' || github.event.inputs.check-for-memory-leaks == 'true' }} working-directory: sample-groovy - run: ./counted-stress-test.sh 10 ./gradlew --daemon -Dorg.gradle.jvmargs="-Xmx150M" + run: ./counted-stress-test.sh 10 ./gradlew --daemon -Dorg.gradle.jvmargs="-Xmx256M" - name: "Run refreshVersions on sample-groovy" if: ${{ github.event.inputs.sample-groovy == 'true' && github.event.inputs.run-refreshVersions-task == 'true' }} working-directory: sample-groovy