当前位置:网站首页>内存泄露的最直接表现
内存泄露的最直接表现
2022-06-27 08:25:00 【C_x_330】
java程序内存泄露的最直接表现是( )
a 频繁FullGc b jvm崩溃程序 c 抛内存溢出的Exception d java进程异常消失答案:c
内存泄漏就是对象引用消失了,对象内存却没有被回收
A答案:FullGC 是老年代内存空间不足的时候,才会触发的,老年代一般是生命周期较长的对象或者大对象,频繁的 FullGC 不会可能会影响程序性能(因为内存回收需要消耗CPU等资源),但是并不会直接导致内存泄漏。
B 答案:JVM奔溃的可能是内存溢出引起的,也可能是其他导致 JVM崩溃的操作,例如设置了错误的JVM参数等。
C 答案:内存异常,最常见的 就是 StackOverFlow 了把,内存溢出,其实内存泄漏的最终结果就是内存溢出。
D 答案:Java 进程异常消失,这个明显不对的。
边栏推荐
- 八大误区,逐个击破(终篇):云难以扩展、定制性差,还会让管理员失去控制权?
- C# 解决使用SQLite 的相对路径问题
- Filter filter
- 【每日一练】产品卡片动画效果的实现
- Ready to migrate to the cloud? Please accept this list of migration steps
- Design of a solar charge pump power supply circuit
- lvgl 说明3关于lvgl guider的使用
- Matlab tips (19) matrix analysis -- principal component analysis
- [original] typescript string UTF-8 encoding and decoding
- 第十一章 信号(一)- 概念
猜你喜欢
![[10. difference]](/img/15/ffd93da75858943fe887de1718e0f6.png)
[10. difference]

That is, a one-stop live broadcast service with "smooth live broadcast" and full link upgrade

Refer to | the computer cannot access the Internet after the hotspot is turned on in win11

Five basic types of redis

Oracle uses an SQL to find out which data is not in a table

Helix QAC is updated to 2022.1 and will continue to provide high standard compliance coverage
![[c++ primer notes] Chapter 4 expression](/img/cb/d543dd1f461653e9adf399b42d1d26.png)
[c++ primer notes] Chapter 4 expression

orthofinder直系同源蛋白分析及结果处理

Mapping of Taobao virtual product store opening tutorial

参考 | 升级 Win11 移动热点开不了或者开了连不上
随机推荐
[12. maximum continuous non repeating subsequence]
JS EventListener
After working in a large factory for ten years with an annual salary of 400000 yuan, I was suddenly laid off. If the company wanted to abandon you, it wouldn't leave any kindness
VIM from dislike to dependence (20) -- global command
一种太阳能电荷泵供电电路的方案设计
[daily practice] realization of product card animation effect
SPARQL basic introductory exercise
[batch dos-cmd command - summary and summary] - output / display command - echo
Lvgl usage demo and instructions 2
[10. difference]
Helix QAC更新至2022.1版本,将持续提供高标准合规覆盖率
Etcd教程 — 第五章 Etcd之etcdctl的使用
数据类型占内存大小?LongVsObject
Persistence mechanism of redis
Redis transactions
参考 | 升级 Win11 移动热点开不了或者开了连不上
Redis configuration file details
[13. number and bit operation of 1 in binary]
June 26, 2022 (LC 6100 counts the number of ways to place houses)
SPARQL基础入门练习