JAVA/Scala build Increase stacksize - StackOverflowError

deenar October 30, 2020

I have a build that works locally, but fails on bitbucket pipelines with a  StackOverflowError. How can I increase the stack size used by SBT, by passing in JAVA_OPTS or adding to .sbtopts.

[error] java.lang.StackOverflowError[error] scala.tools.nsc.typechecker.Contexts$Context.make(Contexts.scala:496)

 

https://stackoverflow.com/questions/34318705/why-does-sbt-compile-fail-with-stackoverflowerror

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events