What does PermGen actually stand for?

前端 未结 8 1596
囚心锁ツ
囚心锁ツ 2020-11-28 03:33

I know what PermGen is, what it\'s used for, why it fails, how to increase it etc.

What I don\'t know is what PermGen actually stands for. Permanent... Gen... someth

8条回答
  •  悲&欢浪女
    2020-11-28 04:14

    PermGen is used by the JVM to hold loaded classes. You can increase it using:

    -XX:MaxPermSize=384m

    if you're using the Sun JVM or OpenJDK.

    So if you get an OutOfMemoryException: PermGen you need to either make PermGen bigger or you might be having class loader problems.

提交回复
热议问题