NTP-59158 | Chore | Optimize Gradle & Kotlin JVM Heap (#16564)

This commit is contained in:
Shivam Goyal
2025-06-12 22:25:22 +05:30
committed by GitHub
parent c510f23043
commit 03a648abbc

View File

@@ -6,8 +6,8 @@
# 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=-Xmx6g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseG1GC -XX:MaxMetaspaceSize=1g
kotlin.daemon.jvmargs=-Xmx8g
org.gradle.jvmargs=-Xmx8g -XX:+HeapDumpOnOutOfMemoryError -Dfile.encoding=UTF-8 -XX:+UseG1GC -XX:MaxMetaspaceSize=1g
kotlin.daemon.jvmargs=-Xmx6g
# When configured, Gradle will run in incubating parallel mode.
# This option should only be used with decoupled projects. For more details, visit
# https://developer.android.com/r/tools/gradle-multi-project-decoupled-projects