Skip to content

Commit

Permalink
add .jvmopts
Browse files Browse the repository at this point in the history
  • Loading branch information
stew committed Aug 24, 2016
1 parent 5a9f229 commit 83169ac
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .jvmopts
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# see https://weblogs.java.net/blog/kcpeppe/archive/2013/12/11/case-study-jvm-hotspot-flags
-Dfile.encoding=UTF8
-Xms1G
-Xmx3G
-XX:MaxPermSize=512M
-XX:ReservedCodeCacheSize=250M
-XX:+TieredCompilation
-XX:-UseGCOverheadLimit
# effectively adds GC to Perm space
-XX:+CMSClassUnloadingEnabled
# must be enabled for CMSClassUnloadingEnabled to work
-XX:+UseConcMarkSweepGC

0 comments on commit 83169ac

Please sign in to comment.