Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d9dda3a

Browse files
committedNov 17, 2021
Try to trim memory usage of Dokka and Lincheck
1 parent 9c3f59f commit d9dda3a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ jekyll_version=4.0
5353

5454
# JS IR backend sometimes crashes with out-of-memory
5555
# TODO: Remove once KT-37187 is fixed
56-
org.gradle.jvmargs=-Xmx4g
56+
org.gradle.jvmargs=-Xmx3g
5757

5858
kotlin.mpp.enableCompatibilityMetadataVariant=true
5959
kotlin.mpp.stability.nowarn=true

‎kotlinx-coroutines-core/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ task jvmLincheckTest(type: Test, dependsOn: compileTestKotlinJvm) {
266266

267267
static void configureJvmForLincheck(task) {
268268
task.minHeapSize = '1g'
269-
task.maxHeapSize = '6g' // we may need more space for building an interleaving tree in the model checking mode
269+
task.maxHeapSize = '4g' // we may need more space for building an interleaving tree in the model checking mode
270270
task.jvmArgs = ['--add-opens', 'java.base/jdk.internal.misc=ALL-UNNAMED', // required for transformation
271271
'--add-exports', 'java.base/jdk.internal.util=ALL-UNNAMED'] // in the model checking mode
272272
task.systemProperty 'kotlinx.coroutines.semaphore.segmentSize', '2'

0 commit comments

Comments
 (0)
Please sign in to comment.