Skip to content

Commit

Permalink
Increase stack size
Browse files Browse the repository at this point in the history
  • Loading branch information
sakehl committed May 6, 2024
1 parent 3452dc0 commit 8b621c8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .mill-jvm-opts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
-Xss32m
-Xss128m
-Xmx2G
2 changes: 1 addition & 1 deletion mill-build/util/src/util/JavaModule.scala
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import scalalib.{JavaModule => BaseJavaModule}
trait JavaModule extends BaseJavaModule {
// https://github.com/viperproject/silicon/issues/748
// 32MB is enough stack space for silicon, a 100% marco guarantee
override def forkArgs = Seq("-Xmx2G", "-Xss32m")
override def forkArgs = Seq("-Xmx2G", "-Xss128m")

def classPathFileElements = T { runClasspath().map(_.path.toString) }

Expand Down

0 comments on commit 8b621c8

Please sign in to comment.