Skip to content

Commit 538e194

Browse files
committed
.jvmopts: Remove MaxMetaspaceSize setting
The default on Java >= 8 is infinite metaspace, by introducing an arbitrary limit we risk running out of metaspace (this might explain some weird recent CI failures).
1 parent f6c169f commit 538e194

File tree

3 files changed

+1
-3
lines changed

3 files changed

+1
-3
lines changed

.jvmopts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,3 @@
33
-Xmx4096m
44
-XX:MaxInlineLevel=35
55
-XX:ReservedCodeCacheSize=512m
6-
-XX:MaxMetaspaceSize=1024m

project/scripts/sbt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ CMD="${1:?Missing sbt command}"
99
# run sbt with the supplied arg
1010
sbt -J-Xmx4096m \
1111
-J-XX:ReservedCodeCacheSize=512m \
12-
-J-XX:MaxMetaspaceSize=1024m \
1312
-DSBT_PGP_USE_GPG=false \
1413
-no-colors \
1514
"$CMD"

0 commit comments

Comments
 (0)