Orbwave Memory Explorer 0.1.103

Using the ajaxCFC framework provided by Rob Gonda, I put together a basic application that you can run to provide you with realtime graphs and charts displaying your JVM memory usage. You have the choice of the following views.

  1. Total JVM
  2. Eden Space
  3. Survivor Space
  4. Tenured Gen
  5. Permanent Gen
  6. All memory spaces

In each view, you can choose to have the charts update every 2.5, 5, 15, 30 or 60 seconds. Having shorter intervals is great for when you are actively watching the memory to identify problems or monitor your usage, and then switch to long intervals for historical charts.

This is my first version, so it’s still rough. I’ll be updating it in the weeks to come with new features and better navigation. Installation is easy. Simply unzip the package and place the resultant memoryExplorer folder under your webroot. Then hit http://localhost/memoryExplorer.

Important Note: You need to be running on the 1.5 JDK for this application to work.

Edit: Some people have contacted me asking why there is a 1.5 JDK requirement on this application. Previous versions of Java simply do not provide the ability to poke around the different memory spaces of your JVM and restrict you to total JVM usage monitoring. I wrote this bit of code for myself and a few clients who also upgraded to Java 5. ColdFusion runs flawlessly in Java 5, but be aware that Adobe is only going to provide you with support up to the 1.4.2 JDK (which is what ships with ColdFusion).