I am using SBT 0.12.3 to test some code and often I get this error message while testing interactively with the ~test
command.
8. Waiting for so
If you haven't, try giving more PermGen space in your sbt.bat. I don't run sbt on Windows, but I give java -Xmx1512M -XX:MaxPermSize=512M
. Another thing to try may be to fork during testing: http://www.scala-sbt.org/release/docs/Detailed-Topics/Testing#forking-tests
In version 0.12.0, the facility to run tests in a separate JVM was added. The setting
fork in Test := true
specifies that all tests will be executed in a single external JVM.