Prevent OOM during building

This commit is contained in:
xiaoxijun
2025-05-24 11:41:21 +08:00
committed by GitHub
parent 318423c783
commit 7f9a24f6f7

View File

@@ -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<Javadoc> {
options.encoding = Charsets.UTF_8.name()