Skip to content

Commit

Permalink
.jvmopts: Remove MaxMetaspaceSize setting
Browse files Browse the repository at this point in the history
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).
  • Loading branch information
smarter committed Oct 16, 2020
1 parent f6c169f commit 538e194
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 3 deletions.
1 change: 0 additions & 1 deletion .jvmopts
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@
-Xmx4096m
-XX:MaxInlineLevel=35
-XX:ReservedCodeCacheSize=512m
-XX:MaxMetaspaceSize=1024m
2 changes: 1 addition & 1 deletion community-build/community-projects/shapeless
Submodule shapeless updated 1 files
+2 −2 build.sbt
1 change: 0 additions & 1 deletion project/scripts/sbt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ CMD="${1:?Missing sbt command}"
# run sbt with the supplied arg
sbt -J-Xmx4096m \
-J-XX:ReservedCodeCacheSize=512m \
-J-XX:MaxMetaspaceSize=1024m \
-DSBT_PGP_USE_GPG=false \
-no-colors \
"$CMD"

0 comments on commit 538e194

Please sign in to comment.