From 4f372df0ecf52fddd9bb1689328c5b3dc2596579 Mon Sep 17 00:00:00 2001 From: Danny Baumann Date: Mon, 12 Aug 2024 09:14:18 +0200 Subject: [PATCH] Increase memory allocation of Gradle daemon With default values (512 MB) the daemon OOMs when building the app. Signed-off-by: Danny Baumann --- gradle.properties | 1 + 1 file changed, 1 insertion(+) diff --git a/gradle.properties b/gradle.properties index 96ce217402..d6f9ef9574 100644 --- a/gradle.properties +++ b/gradle.properties @@ -16,3 +16,4 @@ android.nonFinalResIds=false android.nonTransitiveRClass=false android.useAndroidX=true org.gradle.configuration-cache=true +org.gradle.jvmargs="-Xmx2g"