Web Software Architecture and Engineering – Life on the Bleeding Edge

JVM 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


Comments on: "Using Frameworks? – 2 JVM Changes to Rock Your World" (3)

  1. 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.

  2. 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.


  3. San Francisco has a suspicion of a rep of being a increasing bishopric, and as such, things like smoking don’t match done with real well with a segment of the populace. So when a San Francisco [url=http://gmc.yoyogames.com/index.php?showuser=140381]viagra overnight delivery calk [/url] administrator spotted someone smoking a cigar on public quiddity, well, he hit the roof. On no occasion mind that the “someone” was Michael Jordan and the worldwide property was Harding Garden Golf Direction, the host of the Presidents Cup – heads must even out, neonate!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: