From 15decc19b03384093098553b8fb30924cedb0baa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fede=20Fern=C3=A1ndez?= <720923+fedefernandez@users.noreply.github.com> Date: Tue, 31 Oct 2023 15:43:50 +0100 Subject: [PATCH] Configure memory opts --- .jvmopts | 16 ++++++---------- project/build.properties | 2 +- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/.jvmopts b/.jvmopts index 78ba66b7..b879f0a1 100644 --- a/.jvmopts +++ b/.jvmopts @@ -1,11 +1,7 @@ -# Cats jvmopts see https://weblogs.java.net/blog/kcpeppe/archive/2013/12/11/case-study-jvm-hotspot-flags --Xms2G --Xmx6G --Xss64m --XX:MaxMetaspaceSize=1024M --XX:ReservedCodeCacheSize=250M +-Dfile.encoding=UTF8 +-Xms1G +-Xmx5G +-Xss128m +-XX:ReservedCodeCacheSize=500M -XX:+TieredCompilation --XX:-UseGCOverheadLimit -# effectively adds GC to Perm space -## -XX:+CMSClassUnloadingEnabled -# must be enabled for CMSClassUnloadingEnabled to work +-XX:+UseParallelGC diff --git a/project/build.properties b/project/build.properties index ef3d2662..b19d4e1e 100644 --- a/project/build.properties +++ b/project/build.properties @@ -1 +1 @@ -sbt.version = 1.8.3 +sbt.version = 1.9.7