Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

event log error for tomcat: CreateThread function failed (not enough storage)

 
Stephen Huey
Ranch Hand
Posts: 618
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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..

Thanks for any help!
 
Scott Dunbar
Ranch Hand
Posts: 245
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic