From d8e349d0b0f82e95e2685404eef02b21729df865 Mon Sep 17 00:00:00 2001 From: Marcel Hibbe Date: Wed, 24 Jul 2024 12:50:52 +0200 Subject: [PATCH] increase upper limit of heap memory otherwise ./gradlew clean assemble --refresh-dependencies threw e: java.lang.OutOfMemoryError: GC overhead limit exceeded Signed-off-by: Marcel Hibbe --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 652cce484..256a01dc4 100644 --- a/gradle.properties +++ b/gradle.properties @@ -17,7 +17,7 @@ # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-XX:MaxHeapSize\=2048m -Xmx2048m +org.gradle.jvmargs=-XX:MaxHeapSize\=4096m -Xmx4096m org.gradle.dependency.verification.console=verbose android.useAndroidX=true