Justin C. van Vorst wrote: > Please don't hijack my thread. Now I'm not sure whether Christopher's > comment in any way applies to my problem.
If you run out of threads, it could be for a few reasons. You could have lingering threads in the JVM somewhere (use jstack, kill -QUIT, or ctrl-\ to get a thread dump), you could hit the process' thread limit as James said, the entire OS could be out of processes, or for other less obvious reasons like heap fragmentation or thread stack size. -- Christopher G. Stach II