Skip to content

Commit

Permalink
Fix #1034: Set max heap size for run tests JVMs to 1 GB
Browse files Browse the repository at this point in the history
That should be enough.
  • Loading branch information
smarter committed Jan 10, 2018
1 parent 3004af3 commit c5b9875
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/test/dotty/tools/vulpix/RunnerOrchestration.scala
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ trait RunnerOrchestration {
classOf[ChildJVMMain].getProtectionDomain.getCodeSource.getLocation.getFile + ":" +
Jars.scalaLibrary
val javaBin = sys.props("java.home") + sep + "bin" + sep + "java"
new ProcessBuilder(javaBin, "-cp", cp, "dotty.tools.vulpix.ChildJVMMain")
new ProcessBuilder(javaBin, "-Xmx1g", "-cp", cp, "dotty.tools.vulpix.ChildJVMMain")
.redirectErrorStream(true)
.redirectInput(ProcessBuilder.Redirect.PIPE)
.redirectOutput(ProcessBuilder.Redirect.PIPE)
Expand Down

0 comments on commit c5b9875

Please sign in to comment.