SBT continues to exhaust the memory of some of my larger tricks-style tests using specs2 and spray-testkit . I have 10 gigabytes or RAM, and I am currently running SBT (using the optional SBT script features ) with MaxPermSize on 512 m, Xms on 1024 m and Xmx on 2g.
The acceptance test passes through the entire business process of the client in a certain sequence, so it is not easy to divide the acceptance test into several smaller tests.
Any ideas on how I can set up my environment better, or get what I need to pay attention to, will be appreciated.
Why do I use Oracle Java under Ubuntu, and the project uses Scala 2.10, sbt 0.12.2, spray 1.1-M7 with specs2 1.14.
When you start the system outside the test or when using small tests, everything works like a clock. It is only during larger tests that things go nuts.
source share