当前位置:网站首页>The most direct manifestation of memory leak
The most direct manifestation of memory leak
2022-06-27 08:31:00 【C_ x_ three hundred and thirty】
java The most direct manifestation of program memory leakage is ( )
a frequent FullGc b jvm Crash program c Throw memory overflow Exception d java The process exception disappearsanswer :c
A memory leak is when the object reference disappears , Object memory is not recycled
A answer :FullGC It's when there's not enough memory space in the old days , Will trigger , The old age is generally an object with a long life cycle or a large object , Frequent FullGC It may not affect program performance ( Because memory recycling takes CPU And so on ), But it will not directly lead to memory leakage .
B answer :JVM The crash may be caused by memory overflow , It may also be caused by other factors JVM Crash operation , For example, the wrong is set JVM Parameters, etc. .
C answer : Memory exception , The most common Namely StackOverFlow The put , out of memory , In fact, the final result of memory leak is memory overflow .
D answer :Java The process exception disappears , This is obviously wrong .
边栏推荐
猜你喜欢

webrtc入门:12.Kurento下的RtpEndpoint和WebrtcEndpoint

Creation process and memory layout of objects at JVM level

参考 | Win11 开启热点之后电脑不能上网

2022.06.26(LC_6100_统计放置房子的方式数)

MySQL环境变量配置的教程

粗读DS-TransUNet: Dual Swin Transformer U-Net for Medical Image Segmentation

DV scroll board width of datav rotation table component

Redis主从复制以及哨兵模式

lvgl 说明3关于lvgl guider的使用

Redis transactions
随机推荐
【云原生】2.3 Kubernetes 核心实战(上)
Eight misunderstandings, broken one by one (final): the cloud is difficult to expand, the customization is poor, and the administrator will lose control?
Modify the contents of /etc/crontab file directly, and the scheduled task will not take effect
Helix QAC is updated to 2022.1 and will continue to provide high standard compliance coverage
sql注入之order by注入
即构「畅直播」,全链路升级的一站式直播服务
浏览器的markdown插件显示不了图片
Redis master-slave replication and sentinel mode
Redis transactions
March into machine learning -- Preface
MySQL index details
Persistence mechanism of redis
JS EventListener
[11. two dimensional difference]
冒牌构造函数???
一种太阳能电荷泵供电电路的方案设计
Zabbix部署说明(Server+Win客户端+交换机(H3C))
Mapping of Taobao virtual product store opening tutorial
2022.06.26 (LC Luo 6101 Luo determines whether the matrix is an X matrix)
100% understanding of 5 IO models