You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a project with a very large case class that I am using with Shapeless (198 fields) to derive something (specifically, a Doobie Read for my case class). In this project I have a .jvmopts file to set the stack size for SBT/scalac so that my code can compile. By itself, this fails to work, but if I specify the contents of the file as export JAVA_OPTS="..." instead, it works. It would be great to have some better documentation on this feature, as well as more support for the ways the official sbt launcher can set stack size.
The text was updated successfully, but these errors were encountered:
sloshy
changed the title
Stack size can only be set with JAVA_OPTS
Java options can only be set with JAVA_OPTS
May 19, 2020
I expect this will bite people fairly often in real life, as it's not at all uncommon for a repo to have a .jvmopts file (I have 35 such repos in the collection in my home directory)
I have a project with a very large case class that I am using with Shapeless (198 fields) to derive something (specifically, a Doobie
Read
for my case class). In this project I have a.jvmopts
file to set the stack size for SBT/scalac so that my code can compile. By itself, this fails to work, but if I specify the contents of the file asexport JAVA_OPTS="..."
instead, it works. It would be great to have some better documentation on this feature, as well as more support for the ways the official sbt launcher can set stack size.The text was updated successfully, but these errors were encountered: