I have several times encountered the same error now after working with Play for several hours and frequent starting and stopping the application:
[info] play - Application started (Dev)
Exception in thread "pool-592-thread-1" java.lang.OutOfMemoryError: PermGen space
sbt appears to be exiting abnormally.
The log file for this session is at C:\Users\...\AppData\Local\Temp\sbt8431069139275026395.log
java.lang.OutOfMemoryError: PermGen space
Error during sbt execution: java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-6" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-42" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-54" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-70" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-66" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-14" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-2" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-30" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-22" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-58" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-34" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-62" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-50" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-18" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-46" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-10" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-26" java.lang.OutOfMemoryError: PermGen space
Exception in thread "Thread-38" java.lang.OutOfMemoryError: PermGen space
[debug] Running task... Cancelable: true, max worker threads: 2, check cycles: false
[info] Compiling 1 Scala source to C:\Users\...\modules\common\target\scala-2.9.1\classes...
[debug] Running task... Cancelable: true, max worker threads: 2, check cycles: false
[debug] Running task... Cancelable: true, max worker threads: 2, check cycles: false
[debug] Running task... Cancelable: true, max worker threads: 2, check cycles: false
[debug] Running task... Cancelable: true, max worker threads: 2, check cycles: false
I'm using Play 2.0.1 on a Windows machine with JDK 1.6.0_30.
J.