您能为我的露天服务器建议最佳的 jvm 参数吗
嗨,
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 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
看看这个维基页面:
JVM 调优
Take a look at this wiki page:
JVM Tuning
鉴于您给出的最小大小为 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.