Skip to content

Commit

Permalink
Increase stack size.
Browse files Browse the repository at this point in the history
With -Xlog-implicits I was able to track down that the inductive
derivation for the case-app parser was failing with a stack overflow
```
[info] hasMatchingSymbol reported error: exception during macro expansion:
[info] java.lang.StackOverflowError
[info]     at scala.tools.nsc.typechecker.StdAttachments.isMacroImplRef(StdAttachments.scala:153)
[info]     at scala.tools.nsc.typechecker.StdAttachments.isMacroImplRef$(StdAttachments.scala:153)
[info]     at scala.tools.nsc.Global$$anon$1.isMacroImplRef(Global.scala:458)
[info]     at scala.tools.nsc.typechecker.Typers$Typer.adapt(Typers.scala:1175)
```

This could offer an explanation why 2.12.4 is a regression, since the
stack size might have changed.
  • Loading branch information
olafurpg committed Dec 7, 2017
1 parent 620c630 commit c76098a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .jvmopts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
-Dfile.encoding=UTF8
-Xss8m
-Xms1G
-Xmx6G
-XX:ReservedCodeCacheSize=250M
Expand Down

0 comments on commit c76098a

Please sign in to comment.