From e162fe73488bac025afd347d7e35ef4993c98708 Mon Sep 17 00:00:00 2001 From: Ryan VanderMeulen Date: Wed, 24 Aug 2022 16:58:11 -0400 Subject: [PATCH] Set the Gradle max heap size to 7g Github Actions workers only have 7GB available, so the 8GB limit is causing crashes in that environment. --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index 1accbd3170..52c1871a4b 100644 --- a/gradle.properties +++ b/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=-Xmx8g -Xms2g -XX:MaxMetaspaceSize=6g +org.gradle.jvmargs=-Xmx7g -Xms2g -XX:MaxMetaspaceSize=6g # When configured, Gradle will run in incubating parallel mode. # This option should only be used with decoupled projects. More details, visit # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects