当前位置:网站首页>内存泄露的最直接表现
内存泄露的最直接表现
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 进程异常消失,这个明显不对的。
边栏推荐
- Design of a solar charge pump power supply circuit
- Binary tree structure and heap structure foundation
- VIM from dislike to dependence (20) -- global command
- IO管脚配置和pinctrl驱动
- AQS underlying source code of concurrent programming JUC
- oracle用一条sql查出哪些数据不在某个表里
- 冒牌构造函数???
- Modify the contents of /etc/crontab file directly, and the scheduled task will not take effect
- [paper reading] internally semi supervised methods
- 2022.6.26-----leetcode.710
猜你喜欢

Lvgl GUI guide porting code to stm32

UE5神通--POI解决方案

经典的一道面试题,涵盖4个热点知识

IMX8QXP DMA资源和使用(未完结)

Lvgl description 3 about the use of lvgl Guide

No matter how good LCD and OLED display technologies are, they cannot replace this ancient display nixie tube

All tutor information on one page

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

Lvgl usage demo and instructions 2

Binary tree structure and heap structure foundation
随机推荐
(original) custom drawable
准备好迁移上云了?请收下这份迁移步骤清单
IO管脚配置和pinctrl驱动
[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
Binary tree structure and heap structure foundation
About the problem that the El date picker Click to clear the parameter and make it null
盲测调查显示女码农比男码农更优秀
Matlab tips (19) matrix analysis -- principal component analysis
Game asset reuse: a new way to find required game assets faster
粗读DS-TransUNet: Dual Swin Transformer U-Net for Medical Image Segmentation
Modify the contents of /etc/crontab file directly, and the scheduled task will not take effect
[batch dos-cmd command - summary and summary] - output / display command - echo
八大误区,逐个击破(终篇):云难以扩展、定制性差,还会让管理员失去控制权?
MySQL environment variable configuration tutorial
Redis配置文件详解
oracle怎样将字符串转为多行
05 观察者(Observer)模式
[c++ primer notes] Chapter 4 expression
Mapping of Taobao virtual product store opening tutorial
CLassLoader