diff --git a/compiler/cli/bin/kotlinc b/compiler/cli/bin/kotlinc index c200606e921..1c4106474a3 100755 --- a/compiler/cli/bin/kotlinc +++ b/compiler/cli/bin/kotlinc @@ -39,7 +39,7 @@ if $cygwin; then KOTLIN_HOME=`cygpath --windows --short-name "$KOTLIN_HOME"` fi -[ -n "$JAVA_OPTS" ] || JAVA_OPTS="-Xmx256M -Xms32M" +[ -n "$JAVA_OPTS" ] || JAVA_OPTS="-Xmx256M -Xms128M" declare -a java_args declare -a kotlin_args diff --git a/compiler/cli/bin/kotlinc.bat b/compiler/cli/bin/kotlinc.bat index 7f35c848763..3d49e7b193c 100644 --- a/compiler/cli/bin/kotlinc.bat +++ b/compiler/cli/bin/kotlinc.bat @@ -20,7 +20,7 @@ if not "%JAVA_HOME%"=="" ( ) rem We use the value of the JAVA_OPTS environment variable if defined -if "%JAVA_OPTS%"=="" set JAVA_OPTS=-Xmx256M -Xms32M +if "%JAVA_OPTS%"=="" set JAVA_OPTS=-Xmx256M -Xms128M rem Iterate through arguments and split them into java and kotlin ones :loop