Today, I am running the normal Play framwork 2.0 project on the server, the following error occurs [plain] [info] Compiling 25 Scala sources and 1 Java source to/home/admin/git/project/target/scala-2.9.1/classes... [error] {file:/home/admin/git/project/} project/compile: java. lang. stackOverflowError [error] Total time: 19 s, completed 15:35:14 google, mostly because the conf/routes file is too large (about 200 rows, run the [plain] export _ JAVA_OPTIONS = "-Xms64m-Xmx1 M-Xss2m "can be solved, but my routes is only a few dozen lines, only 1 K is big, apparently not the cause of the above bug. Later we found that-Xss 512 K in the/usr/local/bin/sbt file was changed to-Xss 2 M, and the operation was normal, the complete code is [plain] java-Xms512M-Xmx1536M-Xss512K-XX: + CMSClassUnloadingEnabled-XX: MaxPermSize = 384 M-jar 'dirname $ 0'/sbt-launch.jar "$ @"