Skip to content

Commit 29ea17c

Browse files
committed
Increase the maximup 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.
1 parent 2503291 commit 29ea17c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

project/Build.scala

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ import scala.reflect.io.Path
66

77
object DottyBuild extends Build {
88

9-
val travisMemLimit = List("-Xmx1g", "-Xss2m")
9+
// Currently, this cannot be increased without hitting the maximum amount of memory
10+
// available on the Jenkins VMs
11+
val travisMemLimit = List("-Xmx1100m")
1012

1113
val JENKINS_BUILD = "dotty.jenkins.build"
1214

0 commit comments

Comments
 (0)