Significance of PermGen Space

后端 未结 4 1617
攒了一身酷
攒了一身酷 2020-12-24 13:44

What is the significance of PermGen space in java?

4条回答
  •  一生所求
    2020-12-24 13:50

    The permanent generation holds meta-data describing user classes (classes that are not part of the Java language).

    Applications with large code-base can fill up this segment of the heap which will cause java.lang.OutOfMemoryError: PermGen. This is not affected by the -Xmx setting or how much memory you have on the machine. To set a new initial size, use -XX:PermSize=64m. To set a maximum size, use -XX:MaxPermSize=128m

提交回复
热议问题