Jboss配置中MaxPermSize和MaxPermGen有什么区别?

发布于 2024-10-01 01:53:40 字数 173 浏览 0 评论 0原文

我发现有两个属性。我猜某些 Jboss 版本支持 MaxPermGen,而其他一些版本则支持 MaxPermSize。

这只是我的猜测。这两个属性之间的确切区别是什么?

我尝试在 Jboss 5.1.0 中将 MaxPermGen 替换为 MaxPermSize 来找出差异。 JBoss 启动失败。

There are two attributes that I figured out. I guess some of the Jboss versions support MaxPermGen and some other versions 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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

眼趣 2024-10-08 01:53:40

我不知道 Sun VM(在任何版本的 JVM 中)有任何 MaxPermGen 选项,无效的选项将阻止 JVM 正常启动。

但是,MaxPermSize 是正确的,并且允许定义永久代的大小

参考

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

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文