From 85a003b3132491d13acabb5398c8e8ac00161594 Mon Sep 17 00:00:00 2001 From: Claude Date: Thu, 7 May 2026 22:00:12 +0000 Subject: [PATCH] build: bump Gradle daemon heap from 4g to 6g R8 minification of the play benchmark variant runs inside the Gradle daemon. CI's 4 GB heap is now too tight after recent module growth and :amethyst:minifyPlayBenchmarkWithR8 fails with java.lang.OutOfMemoryError. GitHub Actions ubuntu-latest runners have ~16 GB, so 6 GB stays well under the runner limit while leaving room for the kotlin daemon when it is reused. --- gradle.properties | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle.properties b/gradle.properties index dd5ff4f5f..424c63bbb 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=-Xmx4g -Dfile.encoding=UTF-8 +org.gradle.jvmargs=-Xmx6g -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 # http://www.gradle.org/docs/current/userguide/multi_project_builds.html#sec:decoupled_projects