From 6e8fcde4ca389b816f841b7ffcf3b7dcb7db4468 Mon Sep 17 00:00:00 2001 From: Guillaume Martres Date: Sat, 16 Jan 2016 19:51:51 +0100 Subject: [PATCH] Increase the maximum heap size on Jenkins We're getting a lot of OutOfMemoryException when the maximum size is 1 GB, but we cannot increase it too much without using up all the memory available on the Jenkins instances, let's see if 1.1 GB is enough. Also stop using a custom -Xss, the default of 1 MB should be good enough. --- project/Build.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/project/Build.scala b/project/Build.scala index c8134954c6bf..b0bad8f4ca20 100644 --- a/project/Build.scala +++ b/project/Build.scala @@ -6,7 +6,9 @@ import scala.reflect.io.Path object DottyBuild extends Build { - val travisMemLimit = List("-Xmx1g", "-Xss2m") + // Currently, this cannot be increased without hitting the maximum amount of memory + // available on the Jenkins VMs + val travisMemLimit = List("-Xmx1100m") val JENKINS_BUILD = "dotty.jenkins.build"