From 83169ac23152ffdc48ed28e51d1c00e02db33f31 Mon Sep 17 00:00:00 2001 From: Stew O'Connor Date: Tue, 23 Aug 2016 23:52:58 -0700 Subject: [PATCH] add .jvmopts --- .jvmopts | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .jvmopts diff --git a/.jvmopts b/.jvmopts new file mode 100644 index 00000000..6141a945 --- /dev/null +++ b/.jvmopts @@ -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