From efe62c983ab3b113d037057517a29cb372e814f0 Mon Sep 17 00:00:00 2001 From: Alexey Tsvetkov Date: Tue, 30 Jul 2019 20:09:03 +0300 Subject: [PATCH] Decrease max heap size for test process on Windows Test processes themselves don't do much (RAM heavy work is done in Kotlin and Gradle daemons). The default 1600m max heap size is unreasonably high for copying test projects and checking output logs. --- .../kotlin-gradle-plugin-integration-tests/build.gradle.kts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts b/libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts index 1cdacee922c..409493d7e5f 100644 --- a/libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts +++ b/libraries/tools/kotlin-gradle-plugin-integration-tests/build.gradle.kts @@ -128,6 +128,8 @@ tasks.withType { useAndroidSdk() + maxHeapSize = "512m" + testLogging { // set options for log level LIFECYCLE events("passed", "skipped", "failed", "standardOut")