From 1269a6ef20ba9704219df42472590cd13002e80d Mon Sep 17 00:00:00 2001 From: Kevin Schildhorn Date: Thu, 14 Nov 2024 15:17:58 -0500 Subject: [PATCH] Attempting to update JVM args --- .github/workflows/build_mac.yml | 2 +- gradle.properties | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build_mac.yml b/.github/workflows/build_mac.yml index 56f628eb..aff3a0d6 100644 --- a/.github/workflows/build_mac.yml +++ b/.github/workflows/build_mac.yml @@ -33,7 +33,7 @@ jobs: restore-keys: | ${{ runner.os }}-gradle- - name: Build - run: ./gradlew build --no-daemon --stacktrace --build-cache -Dorg.gradle.jvmargs="-XX:MaxMetaspaceSize=25m" + run: ./gradlew build --no-daemon --stacktrace --build-cache env: S3_BUILD_CACHE_AWS_REGION: ${{ secrets.S3_BUILD_CACHE_AWS_REGION }} S3_BUILD_CACHE_BUCKET_NAME: ${{ secrets.S3_BUILD_CACHE_BUCKET_NAME }} diff --git a/gradle.properties b/gradle.properties index 4d833ef3..7bce90da 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,6 +1,6 @@ kotlin.code.style=official android.useAndroidX=true -org.gradle.jvmargs=-Xmx4g +org.gradle.jvmargs=-Xmx4g -Xms256m -XX:MaxMetaspaceSize=384m -XX:+HeapDumpOnOutOfMemoryError SONATYPE_HOST=DEFAULT RELEASE_SIGNING_ENABLED=true