GCViewer, garbage collection and heap analysis tool - Solr

    技术2022-05-19  23

    http://www.tagtraum.com/gcviewer.html

    http://christiansons.net/mike/blog/2009/01/gcviewer-garbage-collection-and-heap-analysis/

    One month ago I wrote about the benefits of using  Java's built-in garbage collection logging .  With it, you can find answers to important important questions such as "how much memory is my app using " and "how much time is being spent doing garbage collection. "

    There is, of course, a hitch: for any non-trivial application or problem, you will be quickly buried by a mountainous log file.  The longer your application runs, the larger the log file.  It keeps growing, and growing, and...

    What will you do?  Write a second Java app, one that parses the log file -- attempt a homegrown analysis tool?  No!  Instead, I suggest you use  GCViewer , a free open-source tool for visualizing the  Java gc log file .

    GCViewer   helps you get a quick and comprehensive look at how your application is behaving.  Things like total heap vs. heap used and full GC events become very apparent.  Useful statistics such as time spent during GC are calculated for your convenience.

    GCViewer is created by  tagtraum industries   and is available under an  LGPL   license.

    notes: from envykok

    how to set the JVM option to log the files avilable for GCViewer used.


    最新回复(0)