当前位置:网站首页>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了。
边栏推荐
猜你喜欢

力扣151. 颠倒字符串中的单词

十分钟教你玩转分支语句!!!!!小白速进,新手福利!!

超详细!!!让你通透数组!!!初学复习不迷路!!

Remote file xxx is mapped to the local path xxx and can't be found. You can continue debugging....

vs2022 xlua 集成第三方库编译报错Generator Visual Studio 15 2017 could not find any instance of Visual Studio.

The solution to the IDEA console not being able to enter information

超详细!!!让你了解冒泡排序的底层逻辑和思想

力扣刷题之排序链表

cenos7配置IP,配置IP不生效

UE5 最新动态虚幻引擎全新版本引爆互联网
随机推荐
DDNS搭建
力扣.剑指offer05.替换空格
能否更上一层楼?探究 CMake 争论
通过js禁止ctrl+滚轮放缩浏览器页面,禁止用手势放大
闭包,装饰器,类方法,静态方法,委托属性
解决nx安装 jtop问题
vs2022 xlua 集成第三方库编译报错Generator Visual Studio 15 2017 could not find any instance of Visual Studio.
三本毕业,中途转行软件测试,顶着这些光环从月薪7k干到20k+,感觉还不错
cenos7安装cmake-3.22.2
概率论相关笔记
DSPE-PEG-Thiol DSPE-PEG-SH phospholipid-polyethylene glycol-thiol liposome for later use
MySQL官网8.0.17 安装教程(适合离线安装)
数据库/表的基本操作
记一次QT 2D 画图 实现3D动态效果
Log jar package conflict, and its solution
mobaxterm 编码问题解决
box-shadow related properties
【博学谷学习记录】超强总结,用心分享 | 软件测试 抓包
DingTalk Enterprise Internal-H5 Micro Application Development
ES6-class类