From db863328424114e3e9e0ae869a7e4184b9eda2da Mon Sep 17 00:00:00 2001 From: Shivam Goyal Date: Fri, 15 Nov 2024 15:09:31 +0530 Subject: [PATCH] NTP-1234 | GHA | Reduce Gradle Heap (#13626) --- android/gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/android/gradle.properties b/android/gradle.properties index f5d9c9aeeb..4e09db21c3 100644 --- a/android/gradle.properties +++ b/android/gradle.properties @@ -6,7 +6,7 @@ # http://www.gradle.org/docs/current/userguide/build_environment.html # Specifies the JVM arguments used for the daemon process. # The setting is particularly useful for tweaking memory settings. -org.gradle.jvmargs=-Xmx12g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseG1GC -XX:MaxMetaspaceSize=2g +org.gradle.jvmargs=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseG1GC -XX:MaxMetaspaceSize=1g kotlin.daemon.jvmargs=-Xmx8g # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. For more details, visit