SBT command package error solution



Stack overflow
error occurred: java.lang.StackOverflowError

For this overflow, you need to change the size of the stack. Find the following in SBT’s configuration file conf: sbtconfig.txt , add content:


Memory overflow
error occurred: java.lang.OutOfMemoryError

Common memory overflow phenomenon, add configuration information:

-The size of xms64m
– xmx512m
can be changed by yourself.




Read More: