Skip to content

Commit d687a9b

Browse files
committed
Update .jvmopts
Instead of create project/scripts/sbt.bat, we update .jvmopts. -J-X options are not supported on windows: sbt/sbt#5179
1 parent 5653022 commit d687a9b

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

.jvmopts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
-Xss1m
22
-Xms512m
3-
-Xmx1200m
3+
-Xmx4096m
44
-XX:MaxInlineLevel=35
5+
-XX:ReservedCodeCacheSize=512m
6+
-XX:MaxMetaspaceSize=1024m

project/scripts/sbt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ CMD="${1:?Missing sbt command}"
1010
sbt -J-Xmx4096m \
1111
-J-XX:ReservedCodeCacheSize=512m \
1212
-J-XX:MaxMetaspaceSize=1024m \
13-
-Ddotty.drone.mem=4096m \
1413
-DSBT_PGP_USE_GPG=false \
1514
-no-colors \
1615
"$CMD"

0 commit comments

Comments
 (0)