您能为我的露天服务器建议最佳的 jvm 参数吗

发布于 2024-11-01 07:33:37 字数 281 浏览 5 评论 0原文

嗨,

Alfresco应用程序正在tomcat上运行.. tomcat没有释放内存.. 可用物理内存不断下降..

我的JVM参数是:

set JAVA_OPTS= -Xms4G -Xmx8G -Xss256k -XX:MaxPermSize=512M - XX:+UseParallelGC -server -Dalfresco.home=%ALF_HOME% -Dcom.sun.management.jmxremote

请提供设置最佳参数的建议

谢谢, 穆拉利

HI,

Alfresco Application is running on tomcat.. The tomcat is not releasing the memory.. The free physical memory is continuously going down..

My JVM parameters are:

set JAVA_OPTS= -Xms4G -Xmx8G -Xss256k -XX:MaxPermSize=512M -XX:+UseParallelGC -server -Dalfresco.home=%ALF_HOME% -Dcom.sun.management.jmxremote

Please provide the suggestions to set the best parameters

Thanks,
Murali

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

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

发布评论

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

评论(2

秋凉 2024-11-08 07:33:37

看看这个维基页面:
JVM 调优

Take a look at this wiki page:
JVM Tuning

单身情人 2024-11-08 07:33:37

鉴于您给出的最小大小为 4G,最大大小为 8G,您有多少实际物理内存?您可能希望从小处开始,例如最小值为 1,最大值为 2,然后通过 JMX 或任何其他分析工具观察行为。

Given that you've given the min size of 4G and max of 8G, how much actual physical memory do you have? You may want to start small, say with min of 1 and max of 2 and observe the behavior via JMX or any other profiling tool.

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