Skip to content

Commit 8f23c68

Browse files
committed
Kotlin Infra: Add kotlin.native.jvmArgs
1 parent 5e0c2e2 commit 8f23c68

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gradle.properties

+2-1
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ version=3.2.0-SNAPSHOT
3434
# To save some memory, shutting down Kotlin Daemon used for buildSrc compilation after 30 seconds of idle.
3535
# See: https://github.com/gradle/gradle/issues/29331
3636
# (CI-specific configurations can be found in 'teamcity.default.properties')
37-
org.gradle.jvmargs=-Xms2g -Xmx6g -XX:MaxMetaspaceSize=1g -Dkotlin.daemon.options=autoshutdownIdleSeconds=30 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options=-Xmx512m,Xms256m,-XX:MaxMetaspaceSize=256m,XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./oom_dump.hprof
37+
org.gradle.jvmargs=-Xms2g -Xmx5g -XX:MaxMetaspaceSize=1g -Dkotlin.daemon.options=autoshutdownIdleSeconds=30 -XX:+HeapDumpOnOutOfMemoryError -XX:+UseParallelGC -Dfile.encoding=UTF-8 -Dkotlin.daemon.jvm.options=-Xmx512m,Xms256m,-XX:MaxMetaspaceSize=256m,XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=./oom_dump.hprof
3838
kotlin.daemon.jvmargs=-Xms512m -Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError
39+
kotlin.native.jvmArgs=-Xms512m -Xmx2g -XX:MaxMetaspaceSize=256m -XX:+HeapDumpOnOutOfMemoryError
3940
# Gradle Doctor might increase memory consumption when task monitoring is enabled, so it is disabled by default.
4041
# Some features can't work without task monitoring:
4142
# doctor-negative-savings, doctor-slow-build-cache-connection, doctor-slow-maven-connection

0 commit comments

Comments
 (0)