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
Author

jconsole

Jon Camilleri
Ranch Hand

Joined: Apr 25, 2008
Posts: 660

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?



Jon
Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10535
    
    9

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
Marshal

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

Joined: Oct 13, 2005
Posts: 40052
    
  28
I think this question is too difficult for "beginning". Moving thread.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: jconsole