Skip to content

Commit

Permalink
Scala Common Enrich: add custom .jvmopts file (closes #4103)
Browse files Browse the repository at this point in the history
  • Loading branch information
BenFradet committed Jun 19, 2019
1 parent 9cb3293 commit a01ce3b
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions 3-enrich/scala-common-enrich/.jvmopts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Cats jvmopts see https://weblogs.java.net/blog/kcpeppe/archive/2013/12/11/case-study-jvm-hotspot-flags
-Dfile.encoding=UTF8
-Xms1G
-Xmx6G
-Xss128m
-XX:MaxMetaspaceSize=512M
-XX:ReservedCodeCacheSize=250M
-XX:+TieredCompilation
-XX:-UseGCOverheadLimit
# effectively adds GC to Perm space
-XX:+UseConcMarkSweepGC
-XX:+CMSClassUnloadingEnabled
# must be enabled for CMSClassUnloadingEnabled to work

0 comments on commit a01ce3b

Please sign in to comment.