Build: Kotlin daemon 6g -> 8g, switch to G1GC, disable GC overhead limit
Release builds with K2 FIR on this codebase hit GC overhead limit at 6G. 8G + G1 leaves plenty of headroom on the 24G host.
This commit is contained in:
+1
-1
@@ -7,7 +7,7 @@ org.gradle.daemon=true
|
||||
org.gradle.parallel=false
|
||||
org.gradle.caching=true
|
||||
|
||||
kotlin.daemon.jvmargs=-Xmx6g -XX:MaxMetaspaceSize=1024m
|
||||
kotlin.daemon.jvmargs=-Xmx8g -XX:MaxMetaspaceSize=1024m -XX:+UseG1GC -XX:-UseGCOverheadLimit -XX:+HeapDumpOnOutOfMemoryError
|
||||
kotlin.incremental=true
|
||||
|
||||
org.gradle.configuration-cache=false
|
||||
|
||||
Reference in New Issue
Block a user