From 0a95db3b85339dd579f1bcfdc21a3c65a4ada159 Mon Sep 17 00:00:00 2001 From: "@odemolliens" Date: Thu, 30 May 2024 10:07:02 +0200 Subject: [PATCH 1/2] Fix OOO during build - Update gradle.properties --- android/gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gradle.properties b/android/gradle.properties index d79c128f7..117da51f3 100644 --- a/android/gradle.properties +++ b/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: -Xmx10248m -XX:MaxMetaspaceSize=256m -org.gradle.jvmargs=-Xmx4608m -XX:MaxMetaspaceSize=1024m -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Xms4g -Xmx4g -XX:MaxPermSize=4g -XX:MaxHeapSize=4g -XX:MaxMetaspaceSize=2g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit From 74ee7e1bdc80b945c66bcd948f8102d1fd4bd065 Mon Sep 17 00:00:00 2001 From: "@odemolliens" Date: Thu, 30 May 2024 10:11:03 +0200 Subject: [PATCH 2/2] Update gradle.properties --- android/gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gradle.properties b/android/gradle.properties index 117da51f3..427e0182f 100644 --- a/android/gradle.properties +++ b/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: -Xmx10248m -XX:MaxMetaspaceSize=256m -org.gradle.jvmargs=-Xms4g -Xmx4g -XX:MaxPermSize=4g -XX:MaxHeapSize=4g -XX:MaxMetaspaceSize=2g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Xms4g -Xmx4g -XX:MaxHeapSize=4g -XX:MaxMetaspaceSize=2g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit