JVM YGC 系统耗时很长

qwertasdfg123 qwertasdfg123 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
{Heap before GC invocations=1089 (full 7):
PSYoungGen total 448320K, used 443722K [0x00000007d5560000, 0x00000007f6720000, 0x0000000800000000)
eden space 442240K, 100% used [0x00000007d5560000,0x00000007f0540000,0x00000007f0540000)
from space 6080K, 24% used [0x00000007f0540000,0x00000007f06b2848,0x00000007f0b30000)
to space 5888K, 0% used [0x00000007f6160000,0x00000007f6160000,0x00000007f6720000)
PSOldGen total 699072K, used 184396K [0x0000000780000000, 0x00000007aaab0000, 0x00000007d5560000)
object space 699072K, 26% used [0x0000000780000000,0x000000078b413300,0x00000007aaab0000)
PSPermGen total 151744K, used 87677K [0x0000000770000000, 0x0000000779430000, 0x0000000780000000)
object space 151744K, 57% used [0x0000000770000000,0x000000077559f7c0,0x0000000779430000)
2013-05-10T07:59:28.198+0800: 23068.346: [GC [PSYoungGen: 443722K->640K(536320K)] 628118K->185140K(1235392K), 0.0036790 secs] [Times: user=0.03 sys=0.01, real=0.00 secs]
Heap after GC invocations=1089 (full 7):
PSYoungGen total 536320K, used 640K [0x00000007d5560000, 0x00000007f66e0000, 0x0000000800000000)
eden space 530688K, 0% used [0x00000007d5560000,0x00000007d5560000,0x00000007f5ba0000)
from space 5632K, 11% used [0x00000007f6160000,0x00000007f6200000,0x00000007f66e0000)
to space 5760K, 0% used [0x00000007f5ba0000,0x00000007f5ba0000,0x00000007f6140000)
PSOldGen total 699072K, used 184500K [0x0000000780000000, 0x00000007aaab0000, 0x00000007d5560000)
object space 699072K, 26% used [0x0000000780000000,0x000000078b42d300,0x00000007aaab0000)
PSPermGen total 151744K, used 87677K [0x0000000770000000, 0x0000000779430000, 0x0000000780000000)
object space 151744K, 57% used [0x0000000770000000,0x000000077559f7c0,0x0000000779430000)
}


{Heap before GC invocations=1091 (full 7):
PSYoungGen total 536448K, used 531633K [0x00000007d5560000, 0x00000007fce30000, 0x0000000800000000)
eden space 530688K, 100% used [0x00000007d5560000,0x00000007f5ba0000,0x00000007f5ba0000)
from space 5760K, 16% used [0x00000007f5ba0000,0x00000007f5c8c5c8,0x00000007f6140000)
to space 5568K, 0% used [0x00000007fc8c0000,0x00000007fc8c0000,0x00000007fce30000)
PSOldGen total 699072K, used 184580K [0x0000000780000000, 0x00000007aaab0000, 0x00000007d5560000)
object space 699072K, 26% used [0x0000000780000000,0x000000078b441310,0x00000007aaab0000)
PSPermGen total 151744K, used 87681K [0x0000000770000000, 0x0000000779430000, 0x0000000780000000)
object space 151744K, 57% used [0x0000000770000000,0x00000007755a07a0,0x0000000779430000)
2013-05-10T07:59:48.348+0800: 23088.496: [GC [PSYoungGen: 531633K->3201K(642304K)] 716214K->187911K(1341376K), 5.7257820 secs] [Times: user=18.12 sys=5.45, real=5.73 secs]
Heap after GC invocations=1091 (full 7):
PSYoungGen total 642304K, used 3201K [0x00000007d5560000, 0x00000007fce70000, 0x0000000800000000)
eden space 636736K, 0% used [0x00000007d5560000,0x00000007d5560000,0x00000007fc330000)
from space 5568K, 57% used [0x00000007fc8c0000,0x00000007fcbe0518,0x00000007fce30000)
to space 5696K, 0% used [0x00000007fc330000,0x00000007fc330000,0x00000007fc8c0000)
PSOldGen total 699072K, used 184709K [0x0000000780000000, 0x00000007aaab0000, 0x00000007d5560000)
object space 699072K, 26% used [0x0000000780000000,0x000000078b461770,0x00000007aaab0000)
PSPermGen total 151744K, used 87681K [0x0000000770000000, 0x0000000779430000, 0x0000000780000000)
object space 151744K, 57% used [0x0000000770000000,0x00000007755a07a0,0x0000000779430000)
}

{Heap before GC invocations=1093 (full 7):
PSYoungGen total 642432K, used 642410K [0x00000007d5560000, 0x0000000800000000, 0x0000000800000000)
eden space 636736K, 100% used [0x00000007d5560000,0x00000007fc330000,0x00000007fc330000)
from space 5696K, 99% used [0x00000007fc330000,0x00000007fc8baae8,0x00000007fc8c0000)
to space 8512K, 0% used [0x00000007ff7b0000,0x00000007ff7b0000,0x0000000800000000)
PSOldGen total 699072K, used 189769K [0x0000000780000000, 0x00000007aaab0000, 0x00000007d5560000)
object space 699072K, 27% used [0x0000000780000000,0x000000078b952670,0x00000007aaab0000)
PSPermGen total 151744K, used 87721K [0x0000000770000000, 0x0000000779430000, 0x0000000780000000)
object space 151744K, 57% used [0x0000000770000000,0x00000007755aa468,0x0000000779430000)
2013-05-10T08:00:16.698+0800: 23116.846: [GC [PSYoungGen: 642410K->8501K(683072K)] 832180K->204136K(1382144K), 0.9704810 secs] [Times: user=2.22 sys=9.37, real=0.97 secs]
Heap after GC invocations=1093 (full 7):
PSYoungGen total 683072K, used 8501K [0x00000007d5560000, 0x0000000800000000, 0x0000000800000000)
eden space 674560K, 0% used [0x00000007d5560000,0x00000007d5560000,0x00000007fe820000)
from space 8512K, 99% used [0x00000007ff7b0000,0x00000007ffffd658,0x0000000800000000)
to space 12224K, 0% used [0x00000007fe820000,0x00000007fe820000,0x00000007ff410000)
PSOldGen total 699072K, used 195634K [0x0000000780000000, 0x00000007aaab0000, 0x00000007d5560000)
object space 699072K, 27% used [0x0000000780000000,0x000000078bf0c9b0,0x00000007aaab0000)
PSPermGen total 151744K, used 87721K [0x0000000770000000, 0x0000000779430000, 0x0000000780000000)
object space 151744K, 57% used [0x0000000770000000,0x00000007755aa468,0x0000000779430000)
}

{Heap before GC invocations=1094 (full 7):
PSYoungGen total 683072K, used 683061K [0x00000007d5560000, 0x0000000800000000, 0x0000000800000000)
eden space 674560K, 100% used [0x00000007d5560000,0x00000007fe820000,0x00000007fe820000)
from space 8512K, 99% used [0x00000007ff7b0000,0x00000007ffffd658,0x0000000800000000)
to space 12224K, 0% used [0x00000007fe820000,0x00000007fe820000,0x00000007ff410000)
PSOldGen total 699072K, used 195634K [0x0000000780000000, 0x00000007aaab0000, 0x00000007d5560000)
object space 699072K, 27% used [0x0000000780000000,0x000000078bf0c9b0,0x00000007aaab0000)
PSPermGen total 151744K, used 87734K [0x0000000770000000, 0x0000000779430000, 0x0000000780000000)
object space 151744K, 57% used [0x0000000770000000,0x00000007755ad948,0x0000000779430000)
2013-05-10T08:00:19.275+0800: 23119.423: [GC [PSYoungGen: 683061K->10061K(684672K)] 878696K->211940K(1383744K), 0.9747900 secs] [Times: user=4.68 sys=6.25, real=0.98 secs]
Heap after GC invocations=1094 (full 7):
PSYoungGen total 684672K, used 10061K [0x00000007d5560000, 0x0000000800000000, 0x0000000800000000)
eden space 674560K, 0% used [0x00000007d5560000,0x00000007d5560000,0x00000007fe820000)
from space 10112K, 99% used [0x00000007fe820000,0x00000007ff1f3790,0x00000007ff200000)
to space 13632K, 0% used [0x00000007ff2b0000,0x00000007ff2b0000,0x0000000800000000)
PSOldGen total 699072K, used 201878K [0x0000000780000000, 0x00000007aaab0000, 0x00000007d5560000)
object space 699072K, 28% used [0x0000000780000000,0x000000078c525ac8,0x00000007aaab0000)
PSPermGen total 151744K, used 87734K [0x0000000770000000, 0x0000000779430000, 0x0000000780000000)
object space 151744K, 57% used [0x0000000770000000,0x00000007755ad948,0x0000000779430000)
}


采用的是ParallelGC,NewRadio=2,-Xms1024m -Xmx2048m。
...全文

相关推荐

从Elasticsearch的jvm.options读懂JVM参数的生效核验、内存分账与诊断兜底

写进配置的JVM参数不一定生效,生效的参数也未必适合你的场景。本文以Elasticsearch的jvm.options为样板,结合JDK 8与JDK 17的可复现实验,先讲如何用PrintFlagsFinal、jcmd与进程内自检核实参数终值和来源,再讲堆怎么分:存储型服务把一半内存留给页缓存,堆不越过约31GB的压缩指针边界;计算型服务先用NMT量出堆外再定堆。随后梳理分代比例与晋升阈值、GC日志新旧写法、堆转储与OOM退出、异常栈保留及CMS到G1、ZGC的演进,最后给出模板与核验清单。

张彦峰ZYF

jvm调优思路

常用工具简单介绍 Jmap 此命令可以用来查看内存信息,实例个数以及占用内存大小 常用指令 jmap -dump:format=b,file=eureka.hprof 14660 Jstack 用jstack加进程id查找死锁 还可以用jvisualvm自动检测死锁 线上cup高查找办法 Jinfo 查看正在运行的Java应用程序的扩展参数 查看jvm的参数 Jstat jstat命令可以查看堆内存各部分的使用量,以及加载类的数量。命令的格式如下: jstat [-命令选项] [vmid] [间隔时间(

晴天M雨天

linux - jvm相关命令

在生产环境中,我们更希望在发生 OutOfMemoryError (OOM) 时自动生成 dump,以便捕获问题发生时的现场。第一列是序号,第二列是实例数量,第三列是这些实例占用的总字节数,第四列是类的名称。:指定生成 dump 文件的格式为二进制格式(binary),这是最通用的格式。:指定 dump 文件的保存目录。如果不指定,文件通常会生成在应用的工作目录下。这前20行通常是占用内存最多的那些类,对于快速排查。:指定输出文件的路径和文件名。:目标 Java 进程的进程 ID。的 Java 进程。

子笙—望舒

【多无人机协同目标运输任务】多无人机协同目标运输任务中的路径规划与动态控制研究(Matlab代码实现) ​

内容概要:本文聚焦于多无人机协同执行目标运输任务中的关键问题,系统研究了复杂环境下多无人机系统的路径规划与动态控制策略,并提供了基于Matlab的完整仿真代码实现。研究内容包括多智能体协同机制设计、高效路径规划算法(如改进RRT*、A*等)的应用、动态响应控制策略(如反步控制、滑模控制等)的集成,以及任务过程中无人机间的协调控制逻辑。通过高保真度仿真验证了所提方法在不同场景下的有效性、鲁棒性与实用性,代码配备详尽注释,便于理解与二次开发。; 适合人群:具备一定控制理论基础和Matlab编程能力,从事无人机控制、多智能体系统、智能交通或机器人协同等方向的科研人员及研究生(工作1-3年或研一以上水平);; 使用场景及目标:①用于多无人机协同运输任务的算法设计与仿真验证;②支撑科研论文复现、课题开发及工程原型构建;③深入理解路径规划与动态控制在多机协同中的耦合关系与实现方式;; 阅读建议:建议结合Matlab代码逐模块调试运行,配合控制理论教材深化对控制律设计的理解;建议先掌握单无人机基本控制原理,再逐步过渡到多机协同逻辑的学习,以提升整体系统认知与实践效率。

涛哥依旧_yyds

RustFs文件同步中的rc命令所使用得到

RustFs文件同步中的rc命令所使用得到

会说法语的猪
评论 2
收藏 已收藏
分享
返回顶部
qwertasdfg123
Java EE 67,535 成员 225,843 内容