Remove -XX:MaxPermSize out of Windows default

Fixes #223
This commit is contained in:
Eugene Yokota 2019-05-22 17:32:13 -04:00
parent 05ea7eedc5
commit e39a139042
3 changed files with 9 additions and 11 deletions

View File

@ -19,7 +19,7 @@ install:
[System.IO.Compression.ZipFile]::ExtractToDirectory("C:\sbt-bin.zip", "C:\sbt")
}
- SET PATH=C:\sbt\sbt\bin;%PATH%
- SET SBT_OPTS=-XX:MaxPermSize=2g -Xmx4g -Dfile.encoding=UTF8
- SET SBT_OPTS=-Xmx4g -Dfile.encoding=UTF8
test_script:
- sbt "-Dsbt.build.version=1.3.0-M4" universal:packageBin

View File

@ -13,7 +13,7 @@ export SBT_OPTS=-Dfile.encoding=UTF-8
./freshly-baked/sbt/bin/sbt about run -v
export SBT_OPTS="-Dfile.encoding=UTF-8 -Xms2048M -Xmx2048M -Xss2M -XX:MaxPermSize=512M"
export SBT_OPTS="-Dfile.encoding=UTF-8 -Xms2048M -Xmx2048M -Xss2M"
./freshly-baked/sbt/bin/sbt about run

View File

@ -1,14 +1,12 @@
# Set the java args to high
# sbt configuration file for Windows
-Xmx512M
-XX:MaxPermSize=256m
# Set the java args
-Xms1024m
-Xmx1024m
-Xss2M
-XX:ReservedCodeCacheSize=128m
# Set the extra sbt options
# Set the extra SBT options
-Dsbt.log.format=true
# -Dsbt.log.format=true