Using Jconsole for Memory Leak?

I think I've found the answer to my question. The 'Total blocked' and 'Total waited' are simply counts for the number of times the thread waited or was blocked. JConsole is taking this information from ThreadInfo.

I think I've found the answer to my question. The 'Total blocked' and 'Total waited' are simply counts for the number of times the thread waited or was blocked. JConsole is taking this information from ThreadInfo.

Blocked count is the total number of times that the thread blocked to enter or reenter a monitor. I.e. The number of times a thread has been in the java.lang.Thread.State.

BLOCKED state. Waited count is the total number of times that the thread waited for notification. I.e.

The number of times that a thread has been in the java.lang.Thread.State. WAITING or java.lang.Thread.State. TIMED_WAITING state.

The windows task manager shows the virtual memory size and is most of the time not accurate. I have seen this a lot of time, what JConsole shows as the footprint is the right memory footprint. For more information regarding JConsole check here.

Thanks for your link. I've looked at that page before as well. It has a screen shot of the Finalizer thread that I'm talking about (Figure 3-8).

However, it doesn't go into any detail about the thread, or the Total blocked, Total waited attributes. – Silent Walker Nov 16 '10 at 5:03.

Well, I've used the Detect Deadlock feature in jconsole but couldn't find anything. It says no deadlock detected. – Silent Walker Nov 15 '10 at 22:40.

Name: Finalizer State: WAITING on java.lang.ref. ReferenceQueue$Lock@1b79cfd Total blocked: 4,049 Total waited: 1,579 The ReferenceQueue is maintaining a reference for all unused objects (waiting for finalization), in other words there is 4049 objects waiting for a garbage collection. When hunting for memory leaks, be sure to do a full GC (or many GC until nothing can't be reclaimed) before doing the dump.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions