Skip to content

Commit

Permalink
Set JVM options which increases the memory (#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
MFSY authored Feb 22, 2018
1 parent fa9b50c commit abb14a2
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .jvmopts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
-Dfile.encoding=UTF8
-Xms1G
-Xmx3G
-XX:ReservedCodeCacheSize=350M
-XX:+TieredCompilation
-XX:-UseGCOverheadLimit
# effectively adds GC to Perm space
-XX:+CMSClassUnloadingEnabled
# must be enabled for CMSClassUnloadingEnabled to work
-XX:+UseConcMarkSweepGC
-XX:MaxMetaspaceSize=2G

0 comments on commit abb14a2

Please sign in to comment.