From ca2633066fef82bab5a77ed8b80d44bb8d18cf92 Mon Sep 17 00:00:00 2001 From: Zixuan James Li Date: Tue, 4 Feb 2025 15:03:07 -0500 Subject: [PATCH] android build: Allow Gradle to use more memory Fixes #1330. Since Monday, CI builds have been running out of memory, presumably due to some upstream change. Allocate more memory so that the CI can pass again. The limit was 1.5 GiB, but now even 2.5 GiB doesn't seem to be enough. So increase it to 3 GiB. CZO discussion: https://chat.zulip.org/#narrow/channel/516-mobile-dev-help/topic/Execution.20failed.20for.20task.20'.3Aapp.3AcompileDebugKotlin'/near/2076887 Signed-off-by: Zixuan James Li --- android/gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gradle.properties b/android/gradle.properties index 0a5710a599..2974fbcb00 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -1,4 +1,4 @@ -org.gradle.jvmargs=-Xmx1536M +org.gradle.jvmargs=-Xmx3072M android.useAndroidX=true android.enableJetifier=true