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
2009-07-28 08:56:58