weblogic 8.1内存不足
如果我长时间不单击垃圾收集器,我的 weblogic 8.1 就会内存不足,我增加了 -Xms512m -Xmx1024m 以及 setdomainenv.bat 中的最大 perm 大小,是否还有其他我错过的方法4 GB(3.2 读)系统
my weblogic 8.1 gives out of memory if i dont click the garbage collector for a long time, i have increased the -Xms512m -Xmx1024m and also the max perm size in setdomainenv.bat, is there any other way also which i have missed i have a 4 GB (3.2 read) system
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
您的系统听起来好像正在泄漏内存。您应该使用分析器来帮助您找出漏洞所在,以便堵住漏洞。
如果您做不到这一点,另一个答案是定期恢复服务器以重置 JVM。然而,选项#1 是首选。
Your system sounds like it's leaking memory. You ought to get a profiler to help you figure out where so you can plug the leak.
If you can't do that, another answer would be to bounce the server on a regular basis to reset the JVM. However, option #1 is greatly preferred.
答案本身就是有问题的,将java内存变量设置为最佳,并将perm大小也设置为最佳(仅当前者没有帮助时),然后如果问题仍然存在,实际上它不应该检查您的系统是否能够应对新的为 jvm 设置内存:)
the answer is in question itself, set the java memory variable to optimum and the perm size also (only if former doesn't helps) and then if the problem persists, actually it should not check whether your system is able to cope with the new set memory for the jvm :)