Using Frameworks? - 2 JVM Changes to Rock Your World
Tools of the Trade , Product Development , Software Engineering , ColdFusion Add commentsJVM Tuning has been long a favorite subject of mine. Maybe some day I'll share our JVM Settings in full, but for now you need to do two things.
Update to JDK 1.6 Update 10 - Once CF8 came out, people started complaining that their frameworks loaded slowly, initial page loads were long, that CFC generation took a while, etc. The conventional wisdom was to move back down to 1.5, which didn't have these issues. No more. Update 10, which has long been in beta, is now fully launched, and our CFC generation, slow loading issues are nearly gone. Whereas before it would take minutes, it now takes less than 15 seconds. Besides the other benefits of running the latest 1.6, this one rocks. Download info available @ http://java.sun.com/javase/downloads/index.jsp.
Garbage Collection Settings just for Frameworks - We would occasionally notice hiccups, slight slow downs for GC despite our numerous JVM tweaks. No more since adding two lines. More information is available @ Mike Brunt's blog - http://www.cfwhisperer.com/post.cfm/sun-jvm-1-6-heap-memory-behavior-with-coldfusion-frameworks.
The Two JVM Tweaks:
-Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000


Oct 30, 2008 at 7:56 AM Do you know if Adobe supports 1.6_10? The system support matrix (http://www.adobe.com/products/coldfusion/systemreqs/) only lists 1.6_04.
I'm sure it works fine, but a lot of organizations can't update without official support from Adobe.
Oct 30, 2008 at 1:43 PM Nathan,
Those sys reqs are always behind. I would talk with someone from the CF team. As far as I know, lots of people have upgraded, with no issues.
Sami