diff --git a/compiler/tests/org/jetbrains/kotlin/daemon/CompilerDaemonTest.kt b/compiler/tests/org/jetbrains/kotlin/daemon/CompilerDaemonTest.kt index ec753116532..6065afa9419 100644 --- a/compiler/tests/org/jetbrains/kotlin/daemon/CompilerDaemonTest.kt +++ b/compiler/tests/org/jetbrains/kotlin/daemon/CompilerDaemonTest.kt @@ -85,7 +85,7 @@ class CompilerDaemonTest : KotlinIntegrationTestBase() { verbose = true, reportPerf = true) - fun makeTestDaemonJvmOptions(logFile: File? = null, xmx: Int = 256): DaemonJVMOptions { + fun makeTestDaemonJvmOptions(logFile: File? = null, xmx: Int = 384): DaemonJVMOptions { val additionalArgs = arrayListOf() if (logFile != null) { additionalArgs.add("D$COMPILE_DAEMON_LOG_PATH_PROPERTY=\"${logFile.loggerCompatiblePath}\"") @@ -94,7 +94,7 @@ class CompilerDaemonTest : KotlinIntegrationTestBase() { return configureDaemonJVMOptions( baseOpts, *additionalArgs.toTypedArray(), - inheritMemoryLimits = xmx > 0, + inheritMemoryLimits = xmx <= 0, inheritAdditionalProperties = false, inheritOtherJvmOptions = false) }