Figure 5-4. GC Histogram Pause Stats tab
In this particular case, the JVM is spending 41%(!) of its time performing GC, and the time
to perform a full GC is more than 7 seconds. This is an application that definitely needs to
improve its memory usage.
For real-time monitoring of the heap, use jconsole . The Memory panel of jconsole dis-
plays a real-time graph of the heap as shown in Figure 5-5 .