Skip to content

Commit f595a1a

Browse files
authored
Merge pull request #3799 from dotty-staging/fix-1034
Fix #1034: Set max heap size for run tests JVMs to 1 GB
2 parents fa6c579 + c5b9875 commit f595a1a

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)