tags:

views:

58

answers:

1
+1  Q: 

Garbage Collection

The logging option of garbage collection (GC) information which helps to tune the heap size or diagnose any other problem regarding memory is done by what?

+3  A: 

-verbose:gc is what you want.

Take a look at GCPortal for more related information.

JConsole can be used to monitor the garbage collection graphically, which can be useful sometimes for identifying trends etc.

Brian Agnew