Skip to content

Commit 0ae3ef2

Browse files
committed
Merge pull request #1135 from dotty-staging/add/more-memory-2
Build.scala: increase Jenkins max heap from 1.1G to 1.3G
2 parents 806ea74 + acf0535 commit 0ae3ef2

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

project/Build.scala

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

77
object DottyBuild extends Build {
88

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

1311
val JENKINS_BUILD = "dotty.jenkins.build"
1412

@@ -126,7 +124,7 @@ object DottyBuild extends Build {
126124

127125
val travis_build = // propagate if this is a travis build
128126
if (sys.props.isDefinedAt(JENKINS_BUILD))
129-
List(s"-D$JENKINS_BUILD=${sys.props(JENKINS_BUILD)}") ::: travisMemLimit
127+
List(s"-D$JENKINS_BUILD=${sys.props(JENKINS_BUILD)}") ::: jenkinsMemLimit
130128
else
131129
List()
132130

0 commit comments

Comments
 (0)