当前位置:网站首页>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 .
边栏推荐
猜你喜欢
随机推荐
Rust async: SMOL source code analysis -executor
Eight misunderstandings, broken one by one (final): the cloud is difficult to expand, the customization is poor, and the administrator will lose control?
Five basic types of redis
MySQL environment variable configuration tutorial
Filter filter
VIM from dislike to dependence (19) -- substitution
枚举?构造器?面试Demo
看看volatile你深知多少
【云原生】2.3 Kubernetes 核心实战(上)
今日3大面试Demo[Integer ASCII 类关系]
力扣84柱状图中最大的矩形
Linux下Redis的安装
盲測調查顯示女碼農比男碼農更優秀
三道基础面试题总结
RockerMQ消息发送模式
oracle怎样将字符串转为多行
Rough reading DS transunet: dual swing transformer u-net for medical image segmentation
"Short video" Linxia fire rescue detachment carries out fire safety training
Redis installation under Linux
浏览器的markdown插件显示不了图片


![[c++ primer notes] Chapter 4 expression](/img/cb/d543dd1f461653e9adf399b42d1d26.png)






