From f167a00921efcdaa18297435d017f4607f9d277e Mon Sep 17 00:00:00 2001 From: SpiritCroc Date: Wed, 29 Sep 2021 10:32:51 +0200 Subject: [PATCH] Increase gradle/java heap size to fix fdroid build again Was 4G before merge, upstream changed from 2G to 3G, which still seems too small. Change-Id: I1a9f334a1ea991e9c2d27950a37504e68fee87d2 --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 98d561815b..57d98bed76 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,7 +8,7 @@ # The setting is particularly useful for tweaking memory settings. # Build Time Optimizations -org.gradle.jvmargs=-Xmx3g -Xms512M -XX:MaxPermSize=2048m -XX:MaxMetaspaceSize=1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC +org.gradle.jvmargs=-Xmx4g -Xms512M -XX:MaxPermSize=2048m -XX:MaxMetaspaceSize=1g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseParallelGC org.gradle.configureondemand=true org.gradle.parallel=true org.gradle.vfs.watch=true