From 6c3b740a057f9876eab36f003b6bb34c880eaf4b Mon Sep 17 00:00:00 2001 From: Vyacheslav Gerasimov Date: Tue, 12 Dec 2023 13:20:29 +0100 Subject: [PATCH] Build: Remove -xmx for main Gradle daemon In some cases a lot of memory consumed during IDEA import. To avoid OOMs when working with IDEA we should limit heap size only for CI builds. --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 4c194c5968d..0ed599dcc00 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1,4 +1,4 @@ -org.gradle.jvmargs=-Xmx2200m -Duser.country=US -Dfile.encoding=UTF-8 -Dorg.gradle.internal.publish.checksums.insecure=true +org.gradle.jvmargs=-Duser.country=US -Dfile.encoding=UTF-8 -Dorg.gradle.internal.publish.checksums.insecure=true systemProp.file.encoding=UTF-8 systemProp.user.country=US