当前位置:网站首页>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 .
边栏推荐
- 数字IC-1.9 吃透通信协议中状态机的代码编写套路
- 并发编程JUC的AQS底层源码
- 100%弄明白5种IO模型
- [batch dos-cmd command - summary and summary] - parameters%0,%1,%2,%[0-9],%0-9 in the batch command and batch command parameter position switching command shift, operator% usage in the DOS command
- 直接修改/etc/crontab 文件内容,定时任务不生效
- Lvgl usage demo and instructions 2
- Binary tree structure and heap structure foundation
- 一种太阳能电荷泵供电电路的方案设计
- Oracle uses an SQL to find out which data is not in a table
- Object含有Copy方法?
猜你喜欢

"Short video" Linxia fire rescue detachment carries out fire safety training

Coggle 30 days of ML July competition learning

Matlab tips (18) matrix analysis -- entropy weight method

RockerMQ消息发送与消费模式

JVM常见的垃圾收集器

MATLAB小技巧(19)矩阵分析--主成分分析

How Oracle converts strings to multiple lines

C# 解决使用SQLite 的相对路径问题

游戏资产复用:更快找到所需游戏资产的新方法

浏览器的markdown插件显示不了图片
随机推荐
MySQL索引详解
正确的理解MySQL的MVCC
SQL Sever column name or number of supplied values does not match the table definition
MySQL index details
SIG associé: toutes les routes mènent à ue5
ZABBIX deployment instructions (server+win client + switch (H3C))
vim 从嫌弃到依赖(19)——替换
Ue5 magic power - POI solution
Helix QAC更新至2022.1版本,将持续提供高标准合规覆盖率
准备好迁移上云了?请收下这份迁移步骤清单
MySQL environment variable configuration tutorial
枚举?构造器?面试Demo
[batch dos-cmd command - summary and summary] - environment variables, path variables, search file location related instructions - set, path, where, what if there are spaces in the path parameters of
游戏资产复用:更快找到所需游戏资产的新方法
【每日一练】产品卡片动画效果的实现
IO管脚配置和pinctrl驱动
三道基础面试题总结
vim 从嫌弃到依赖(20)——global 命令
MATLAB小技巧(19)矩阵分析--主成分分析
MySQL环境变量配置的教程