GCview 工具使用

前提:收集线上GC日志配置参数: -verbose:gc -Xloggc:gc.log
1、Git地址:https://github.com/chewiebug/GCViewer/releases
2、下载jar包gcviewer-1.35

3、java -jar gcviewer-1.36.jar PrismTransporterGC.log

图中整个高度为JVM总的内存大小,也就是4086.5M,从右侧的Summary也可以看出。其中的紫色部分为老年代的大小,黄色部分是新生带的大小,黑色的线是 Full GC  的线。

参考资料

  • GCViewer

https://github.com/chewiebug/GCViewer

  • gcplot

https://github.com/dmart28/gcplot

  • gclogviewer

https://github.com/mxc/GCLogViewer

  • gcviewer

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

  • gceasy

https://gceasy.io/

猜你喜欢

转载自blog.csdn.net/wangming520liwei/article/details/105263553