gpt4 book ai didi

java - 什么是烫发空间?

转载 作者:IT老高 更新时间:2023-10-28 11:39:06 25 4
gpt4 key购买 nike

在学习 java 内存分析时,除了“堆”之外,我不断看到术语“永久空间”。我知道堆是什么——烫发空间是什么?

最佳答案

它代表permanent generation :

The permanent generation is special because it holds meta-data describing user classes (classes that are not part of the Java language). Examples of such meta-data are objects describing classes and methods and they are stored in the Permanent Generation. Applications with large code-base can quickly fill up this segment of the heap which will cause java.lang.OutOfMemoryError: PermGen no matter how high your -Xmx and how much memory you have on the machine.

关于java - 什么是烫发空间?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1279449/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com