Skip to content

Commit 9c11fef

Browse files
committed
Decrease maximum heap size
The Jenkins VMs do not have enough memory to let us use a heap of 1.5G, let's see if a heap of 1.25G is enough to avoid OutOfMemoryExceptions.
1 parent d00add2 commit 9c11fef

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

project/Build.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ object DottyBuild extends Build {
88

99
val JENKINS_BUILD = "dotty.jenkins.build"
1010

11-
// This is what sbt uses (http://www.scala-sbt.org/0.13/docs/Manual-Installation.html)
12-
val memoryOptions = List("-Xms512M", "-Xmx1536M", "-Xss1M")
11+
val memoryOptions = List("-Xms512M", "-Xmx1250M", "-Xss1M")
1312

1413
val agentOptions = List(
1514
// "-agentlib:jdwp=transport=dt_socket,server=y,suspend=y,address=5005"

0 commit comments

Comments
 (0)