Ok, here comes the polished version with a little more info: I've tracked down three categories of the java.lang.OutOfMemoryError.
- java.lang.OutOfMemoryError <<no stack trace available>> - java.lang.OutOfMemoryError: unable to create new native thread - Exception in thread "CompileThread0" java.lang.OutOfMemoryError: requested xxxxx bytes =================================================================== java.lang.OutOfMemoryError <<no stack trace available>> This is the most common type of this error. You should consider testing with the jvm arg that increases the MaxPermSize. Even though you may not be on Linux, you may want to review this: http://www.macromedia.com/v1/handlers/index.cfm?ID=23524&Method=Full Specifically, this part: ---- Hotspot crash or out-of-memory. Resolved by increasing internal VM perm memory ceiling which defaults to 64mb. (This is not a ColdFusion MX requirement. Under load, the perm space can be exhausted by many application servers that load a large number of JARs or classes. Most application server vendors suggest increasing this parameter when encountering an out of memory condition) "-XX:MaxPermSize=128m" ----- And this part: ---- Out-Of-Memory Condition and/or Hotspot Crash � Reproduced one instance � Java VM setting resolved by increasing internal VM working memory ceiling in ColdFusion MX administrator "-XX:MaxPermSize=128m" NEXT: Re-verify, publish, and consider making default value in ColdFusion MX / Updater 2. Sun Bug Parade 4697804 http://developer.java.sun.com/developer/bugParade/bugs/4697804.html --- So the 1.3.1._03 VM has a maximum permanent generation size that defaults to 64MB . Perm memory is a subset of the heap, so even though the heap may be 512, the perm is far less. This memory is involved in the garbage collection of persistent objects. So after CF has been up a long time, the cieling is reached due to an increasing number of objects being managed there. Sun 1.4.1 (and likely other vendors 1.4.x versions) changed the default perm to a higher value and so customers using 1.4.1 have seen relief. If you either manually increase the perm size using the jvm arg above or change to a higher vm, then you will alleviate the condition of hitting the perm cieling. However, the preferred method of workaround is to stay on 1.3.1_03 (the one that comes with CFMX) and use the jvm arg to increase the MaxPermSize because jvm 1.4.1 may introduce other secondary effects and break code that was running fine under 1.3.1_03. =========================================================== java.lang.OutOfMemoryError: unable to create new native thread For this one which is also common, see these two docs regarding DataDirect bug 15002321 that was fixed in Updater 2: http://www.macromedia.com/support/coldfusion/releasenotes/mx/releasenotes_mx_updater.html http://www.macromedia.com/v1/handlers/index.cfm?ID=23524&Method=Full Threads spawned from CFQUERY timeout=xx parameter not killed. (Merant/DataDirect drivers only) � Monitor threads would pile up (ALL OS platforms) using JDBC database drivers for EACH connection in CFQUERY containing a timeout parameter. Bug 47982. � Symptom: eventual [java.lang.OutOfMemoryError: unable to create new native thread] � Merant (DataDirect) issue 15002321. Fixed in October 2002 (post-ColdFusion MX Updater 1). Turn off TIMEOUT in CFQUERY and monitor threads to diagnose. Fix available in Updater 2. =========================================================== Exception in thread "CompileThread0" java.lang.OutOfMemoryError: requested xxxxx bytes Have only seen one of these errors in CFMX. At this time, all I have for this one is: http://developer.java.sun.com/developer/bugParade/bugs/4484290.html ============================================================= Workarounds - java.lang.OutOfMemoryError <<no stack trace available>> Use "-XX:MaxPermSize=128m" - java.lang.OutOfMemoryError: unable to create new native thread Apply CFMX Updater 2 - Exception in thread "CompileThread0" java.lang.OutOfMemoryError: requested xxxxx bytes Working on this.... Waiting on results of trying Updater 2 Hope this helps... ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting.

