当前位置:网站首页>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 .
边栏推荐
- June 26, 2022 (LC 6100 counts the number of ways to place houses)
- Read datasets iteratively with xgboost
- [13. number and bit operation of 1 in binary]
- MySQL环境变量配置的教程
- The difference between ArrayList and LinkedList
- 粗读DS-TransUNet: Dual Swin Transformer U-Net for Medical Image Segmentation
- 力扣84柱状图中最大的矩形
- AQS underlying source code of concurrent programming JUC
- MySQL lock details
- ArrayList和LinkedList的区别
猜你喜欢
随机推荐
VIM from dislike to dependence (20) -- global command
Redis五种基本类型
第十一章 信号(一)- 概念
ServletConfig and ServletContext
Install Jenkins
【原创】TypeScript字符串utf-8编码解码
Lvgl description 3 about the use of lvgl Guide
sql注入之order by注入
JVM common garbage collector
Mapping of Taobao virtual product store opening tutorial
内部类~锁~访问修饰符
[13. number and bit operation of 1 in binary]
All tutor information on one page
[batch dos-cmd command - summary and summary] - how to distinguish the internal command and external command of CMD, and the difference between CMD command and run (win+r) command,
使线程释放锁资源的操作/方法重载一点注意事项
若xn>0,且x(n+1)/xn>1-1/n(n=1,2,...),证明级数∑xn发散
MySQL environment variable configuration tutorial
DataV轮播表组件dv-scroll-board宽度问题
Redis master-slave replication and sentinel mode
针对直播痛点的关键技术解析——首帧秒开、清晰度、流畅度
![[13. number and bit operation of 1 in binary]](/img/53/024f9742d1936fe6f96f4676cea00e.png)




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



