aspose file tools
The moose likes Java in General and the fly likes jconsole Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "jconsole" Watch "jconsole" New topic


Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 662

When running jconsole connecting to pid 4336 on my laptop I noticed that heap memory usage goes up and down between 4k and 8k, even when no java programs are running. It also shows that 3105 classes are loaded, and, 30 live threads are running. I am running Win XP.

Do these consist of the Java Environment (JDK)? In what ways can jconsole help me monitor java applications for memory leaks and performance issues? Have you ever encountered a memory leak when working with Java?

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10687

Jon Camilleri wrote:.., even when no java programs are running. ..

Maybe its the JConsole itself?

[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42954
While you can certainly use jconcole to do the monitoring, visualvm is a much more powerful tool.
Campbell Ritchie

Joined: Oct 13, 2005
Posts: 41576
I think this question is too difficult for "beginning". Moving thread.
Consider Paul's rocket mass heater.
subject: jconsole