diff --git a/gradle.properties b/gradle.properties index 83a8d5e6c..39f2d510a 100644 --- a/gradle.properties +++ b/gradle.properties @@ -200,3 +200,7 @@ disableCheckstyle = true # Non-GTNH properties modVersion = 1.10 + +# Increase Gradle's JVM memory usage to avoid daemon expiration due to +# insufficient heap space on CI builds. +org.gradle.jvmargs=-Xmx2g -XX:MaxMetaspaceSize=1g