aboutsummaryrefslogtreecommitdiff
path: root/project
diff options
context:
space:
mode:
authorGuillaume Martres <smarter@ubuntu.com>2016-01-16 19:51:51 +0100
committerGuillaume Martres <smarter@ubuntu.com>2016-01-16 20:28:50 +0100
commit6e8fcde4ca389b816f841b7ffcf3b7dcb7db4468 (patch)
treeb564a93c5894cc8b376a86a5710a9440b5206436 /project
parent2503291afd5bb4bf56dfda74ac1446fb8b388521 (diff)
downloaddotty-6e8fcde4ca389b816f841b7ffcf3b7dcb7db4468.tar.gz
dotty-6e8fcde4ca389b816f841b7ffcf3b7dcb7db4468.tar.bz2
dotty-6e8fcde4ca389b816f841b7ffcf3b7dcb7db4468.zip
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.
Diffstat (limited to 'project')
-rw-r--r--project/Build.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/project/Build.scala b/project/Build.scala
index c8134954c..b0bad8f4c 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"