From cfb987a3059594b928cd5f57b3cffbc54271ac89 Mon Sep 17 00:00:00 2001 From: tech08mag Date: Thu, 27 Aug 2026 06:35:06 +0200 Subject: [PATCH] Fix OutOfMemoryError: increase MaxMetaspaceSize from 384m to 1024m --- carry-your-live/android/gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/carry-your-live/android/gradle.properties b/carry-your-live/android/gradle.properties index 0810d82..ff30013 100644 --- a/carry-your-live/android/gradle.properties +++ b/carry-your-live/android/gradle.properties @@ -10,7 +10,7 @@ # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. # Default value: -Xmx512m -XX:MaxMetaspaceSize=256m -org.gradle.jvmargs=-Xmx1536m -XX:MaxMetaspaceSize=384m --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED +org.gradle.jvmargs=-Xmx1536m -XX:MaxMetaspaceSize=1024m --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED org.gradle.workers.max=2 # When configured, Gradle will run in incubating parallel mode.