From 7f9a24f6f76678dbc1c99726c08841ab309e5474 Mon Sep 17 00:00:00 2001 From: xiaoxijun Date: Sat, 24 May 2025 11:41:21 +0800 Subject: [PATCH] Prevent OOM during building --- build.gradle.kts | 1 + 1 file changed, 1 insertion(+) diff --git a/build.gradle.kts b/build.gradle.kts index edf8f61..293cc06 100644 --- a/build.gradle.kts +++ b/build.gradle.kts @@ -64,6 +64,7 @@ subprojects { options.encoding = Charsets.UTF_8.name() options.release = 21 options.isFork = true + options.forkOptions.memoryMaximumSize = "6g" // Prevent OOM during building } tasks.withType { options.encoding = Charsets.UTF_8.name()