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.
This commit is contained in:
Ryan VanderMeulen 2022-08-24 16:58:11 -04:00 committed by mergify[bot]
parent e1b055a0ec
commit e162fe7348
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@
# http://www.gradle.org/docs/current/userguide/build_environment.html # http://www.gradle.org/docs/current/userguide/build_environment.html
# Specifies the JVM arguments used for the daemon process. # Specifies the JVM arguments used for the daemon process.
# The setting is particularly useful for tweaking memory settings. # 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. # When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. More details, visit # 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 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects