eG Monitoring
 

Measures reported by JvmGarbageCollectionTest

Manual memory management is time consuming, and error prone. Most programs still contain leaks. This is all doubly true with programs using exception-handling and/or threads. Garbage collection (GC) is a part of a Java application's JVM that automatically determines what memory a program is no longer using, and recycles it for other use. It is also known as "automatic storage (or memory) reclamation''. This test reports the performance statistics pertaining to the JVM's garbage collection.

 The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
GC_invocation_count Indicates the number of times garbage collection started to release dead objects form memory during the last measurement period. Number  
GC_time Indicates the time taken to perform the current garbage collection operation. Secs Ideally, the value of both these measures should be low. This is because, the garbage collection (GC) activity tends to suspend the operations of the application until such time that GC ends. Longer the GC time, longer it would take for the application to resume its functions. To minimize the impact of GC on application performance, it is best to ensure that GC activity does not take too long to complete.
Pct_gc_time_utilization Indicates the percentage of time spent by JVM in garbage collection during the last measurement period. Percent