Skip to content

Commit 184c59d

Browse files
committed
Restore .sbtopts file
I noticed that the sbt project has gotten much slower to compile on my computer and that bumping the memory helped a lot. With 1GB, it seems to take about 60-70 seconds for a clean compile and with 2GB it takes between 35-40 seconds. Note that this will break sbt loading on windows using the batch script. This should be fixed in sbt 1.4.4: sbt/sbt-launcher-package#344.
1 parent 87d0972 commit 184c59d

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

.appveyor.yml

+2
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ for:
116116
- SET PATH=C:\sbt\sbt\bin;%PATH%
117117
- SET JAVA_HOME=C:\jdk8
118118
- gu install native-image
119+
- rm .sbtopts
119120

120121
cache:
121122
- '%USERPROFILE%\.ivy2\cache'
@@ -148,6 +149,7 @@ for:
148149
}
149150
- SET PATH=C:\sbt\sbt\bin;%PATH%
150151
- SET SBT_OPTS=-Xmx4g -Dsbt.supershell=never -Dfile.encoding=UTF8
152+
- rm .sbtopts
151153

152154
cache:
153155
- '%USERPROFILE%\.ivy2\cache'

.sbtopts

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
-J-Xmx2G

0 commit comments

Comments
 (0)