In the Event log on Windows 2000 Server, we're occasionally seeing a weird error showing up for Apache Tomcat 4.27:
The CreateThread function failed for the following reason: Not enough storage is available to process this command. .
We really don't know what's causing this. Is Tomcat (or Java) low on memory? You'd think we'd know, but we don't, because by the time this error pops up, the problem is no doubt over with. We do have to restart Tomcat for what we think are unrelated reasons...however, if Tomcat/Java is running out of memory, then that definitely throws a kink in our theory..
CreateThread is a Windows specific method but you're correct - you're out of memory. I'm not a Windows Guru by any stretch of the imagination but a quick Google search of the second part of the string shows that it is system memory, not just the memory of the process that is being exhasted.
<a href="http://forums.hotjoe.com/forums/list.page" target="_blank" rel="nofollow">Java forums using Java software</a> - Come and help get them started.
subject: event log error for tomcat: CreateThread function failed (not enough storage)