From f5726e4d38eca5532c897eb5825d3ee71dbb3569 Mon Sep 17 00:00:00 2001 From: "Michael G. Noll" Date: Tue, 30 Sep 2014 09:40:39 +0200 Subject: [PATCH] Set -Xms JVM option to 256MB --- .sbtopts | 1 + build.sbt | 1 + 2 files changed, 2 insertions(+) diff --git a/.sbtopts b/.sbtopts index 64429ab..679aa1a 100644 --- a/.sbtopts +++ b/.sbtopts @@ -1,3 +1,4 @@ +-J-Xms256m -J-Xmx512m -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true diff --git a/build.sbt b/build.sbt index 5ec683e..4fbf187 100644 --- a/build.sbt +++ b/build.sbt @@ -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",