Rework default JVM arguments. (#2633)

This commit is contained in:
Nikolay Igotti
2019-02-07 13:08:49 +03:00
committed by GitHub
parent 0078f20992
commit 2d882d1b6c
6 changed files with 16 additions and 8 deletions
@@ -58,7 +58,7 @@ internal abstract class KonanCliRunner(
project.fileTree("${project.konanHome}/konan/lib/")
.apply { include("*.jar") }
override val jvmArgs = mutableListOf("-ea").apply {
override val jvmArgs = HostManager.defaultJvmArgs.toMutableList().apply {
if (additionalJvmArgs.none { it.startsWith("-Xmx") } &&
project.jvmArgs.none { it.startsWith("-Xmx") }) {
add("-Xmx3G")