Java 1.5 - Application Memory Monitoring Made Easy

There is a new tool called Java Monitoring & Management Console in 1.5 edition of J2SE (available as %JDK_HOME%\bin\jconsole.exe). Simply set

and start your Application Server or Servlet Container. Launch JConsole tool, and when asked for attaching, pick the appropriate process to attach.

[Pic 1 - Choose a Process to attach to.]

[Pic 2 - JConsole in Action]

I have a JDK 1.6 on W2K machine.

Here is a link from Sun's Java website. Textbooks


Rockstar said…
This is interesting but not really much more than what existing OS tools can do. What I'm still waiting for is an easy way to check per object memory usage without latching JProfiler into the mix. That would be a dream.
sandeep said…
Try the netbeans profiler or if you have resources to buy, yourkit profiler is a very good java profiler. you can try the software for 15 days.
Netbeans profiler is pretty good and should do most of your tasks
Kieron said…
Rockstar: That not really true. OS tools cannot show the Java program, only the virtual machine as a whole, so they are of very limited use.

Popular posts from this blog

Installing Bugzilla on Windows

Online Hindi Radio Stations

Copy/Paste the block of text in vi/vim