Skip to content

Commit c5b9875

Browse files
committed
Fix #1034: Set max heap size for run tests JVMs to 1 GB
That should be enough.
1 parent 3004af3 commit c5b9875

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/test/dotty/tools/vulpix/RunnerOrchestration.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ trait RunnerOrchestration {
155155
classOf[ChildJVMMain].getProtectionDomain.getCodeSource.getLocation.getFile + ":" +
156156
Jars.scalaLibrary
157157
val javaBin = sys.props("java.home") + sep + "bin" + sep + "java"
158-
new ProcessBuilder(javaBin, "-cp", cp, "dotty.tools.vulpix.ChildJVMMain")
158+
new ProcessBuilder(javaBin, "-Xmx1g", "-cp", cp, "dotty.tools.vulpix.ChildJVMMain")
159159
.redirectErrorStream(true)
160160
.redirectInput(ProcessBuilder.Redirect.PIPE)
161161
.redirectOutput(ProcessBuilder.Redirect.PIPE)

0 commit comments

Comments
 (0)