Java verbose: gc How to read output?

I have a Java application that has some performance issues, and someone recommended I run it in verbose mode: gc. This was done, but I do not know how to interpret the journal. Can you explain to me what all this means, or advise me as something that I can do to increase productivity?

The output log can be found at: http://pastebin.com/uDNPEGcd

Thanks in advance, Regards, Maarten

+8
java performance
source share
1 answer

verbose:gc prints immediately after each gc collection and prints details about the memory details of each generation. Here is a blog on how to read verbose gc

If you are trying to find a memory leak, verbose: gc might not be enough. Use some visualization tools like jhat (or) visualvm etc.

  4416K->512K(4928K), 0.0081170 secs Before GC used memory is 4416K After GC used memory is 512K Total allocated memory is 4928K 
+10
source share

All Articles