开发者

What is the difference between MaxPermSize and MaxPermGen in Jboss configuration?

开发者 https://www.devze.com 2023-01-23 19:55 出处:网络
There are two attributes that I figured out. I guess some of the Jboss versions support MaxPermGen and some other versi开发者_如何学Goons support MaxPermSize.

There are two attributes that I figured out. I guess some of the Jboss versions support MaxPermGen and some other versi开发者_如何学Goons support MaxPermSize.

Thats my guess only. What is the exact difference between those two attributes ?

I tried to replace MaxPermGen with MaxPermSize in my Jboss 5.1.0 to findout the difference. JBoss failed to start.


I'm not aware of any MaxPermGen option of the Sun VM (in any version of the JVM) and invalid options will prevent the JVM to start properly.

However, MaxPermSize is correct and allows to define the Size of the Permanent Generation.

Reference

  • A Collection of JVM Options (most exhaustive resource I know)
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号