当前位置:网站首页>12.0 堆参数调优入门之GC收集日志信息
12.0 堆参数调优入门之GC收集日志信息
2022-07-31 05:19:00 【想要飞翔的企鹅】
所谓GC日志信息收集,也就是对产生的GC日志进行一个分析,此图是在上
https://blog.csdn.net/PhilsphyPrgram/article/details/125423918,我写的上篇文章中产生的,下面我将对此图数据进行逐条分析。
[GC (Allocation Failure) [PSYoungGen: 2048K->496K(2560K)] 2048K->883K(9728K), 0.0067137 secs] [Times: user=0.00 sys=0.00, real=0.00 secs]
GC (Allocation Failure) :意思是分配失败了,因为新生代已经满了。
[PSYoungGen: 2048K->496K(2560K)] :新生代2048K内存经过GC变成了496K内存,新生代总内存为2560K。
2048K->883K(9728K) 堆中2048K内存经过GC变成了883K内存,堆总内存为9728K。
[Full GC (Allocation Failure) [PSYoungGen: 0K->0K(1536K)] [ParOldGen: 4227K->4207K(7168K)] 4227K->4207K(8704K), [Metaspace: 3277K->3277K(1056768K)], 0.0146996 secs] [Times: user=0.00 sys=0.00, real=0.02 secs]
Full GC一样的读取方式这里就不在进行介绍啦,这一次数据是马上要报出OutOfMemoryError时的GC,可以看出这个时候,老年代进行GC,从4227K -> 4207K,清除的对象已经很少了,这个时候老年代内存已经满了,没有办法在进行GC了。
边栏推荐
猜你喜欢
Remote file xxx is mapped to the local path xxx and can't be found. You can continue debugging....
ImportError: cannot import name 'Xxxx' from partially initialized module 'xx.xx.xx'
routeros KVM安装LEDE 20191030最新版应用
企业级 DevOps 究竟是什么?
Wlan实验(ENSP)
力扣刷题之排序链表
webdriver.定位元素
Pytorch Daily Practice - Predicting Surviving Passengers on the Titanic
记录一下,今天开始刷剑指offer
DingTalk Enterprise Internal-H5 Micro Application Development
随机推荐
超详细!!!让你通透数组!!!初学复习不迷路!!
DDNS搭建
力扣.三数之和/四数之和
VNC 启动脚本
client
ES6-模块
多线程截取视频为每帧
Image binarization processing of opencv
解决nx安装 jtop问题
Incredibuild 宣布支持 Yocto
力扣.有效的字母异位词
IDEA overview and installation and debugging
【Rhapsody学习笔记】3:Dishwasher
911崩了,自养号测评环境IP有哪些更好的选择
力扣.找到打字符串中所有字母异位词
ES6-02-let和const关键字
file和stat命令的使用,文件类型:代表字符,以及英文
英语学习笔记
Unity版本升级问题总结
DingTalk Enterprise Internal-H5 Micro Application Development