当前位置:网站首页>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了。
边栏推荐
猜你喜欢
随机推荐
UR3机器人雅克比矩阵
关于网络安全法的个人理解
The solution to the IDEA console not being able to enter information
WIN10,配置adb环境
ES6-01-ES的简介
C语言对文件的操作(完整版)
DingTalk H5 micro-app login authentication
能否更上一层楼?探究 CMake 争论
ES6-箭头函数
自动化测试之unittest框架
alert弹框处理,div块处理,上传文件
OneManager搭建
UR3机器人运动学分析之正运动学分析
Unity Text一个简单的输入特效
UE5 最新动态虚幻引擎全新版本引爆互联网
Pytorch Daily Practice - Predicting Surviving Passengers on the Titanic
Log jar package conflict, and its solution
MySQL free installation download and configuration tutorial
vs2022 xlua 集成第三方库编译报错Generator Visual Studio 15 2017 could not find any instance of Visual Studio.
cenos版本查询,及离线安装zip和unzip