Skip to content
This repository was archived by the owner on Mar 23, 2022. It is now read-only.

Commit

Permalink
Set -Xms JVM option to 256MB
Browse files Browse the repository at this point in the history
  • Loading branch information
miguno committed Sep 30, 2014
1 parent 51fd53b commit f5726e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .sbtopts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
-J-Xms256m
-J-Xmx512m
-Djava.awt.headless=true
-Djava.net.preferIPv4Stack=true
1 change: 1 addition & 0 deletions build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ fork := true
//
// Note: If you need to pass options to the JVM used by sbt (i.e. the "parent" JVM), then you should modify `.sbtopts`.
javaOptions ++= Seq(
"-Xms256m",
"-Xmx512m",
"-XX:+UseG1GC",
"-XX:MaxGCPauseMillis=20",
Expand Down

0 comments on commit f5726e4

Please sign in to comment.