设置从Eclipse运行的Java程序的内存 [英] Setting memory of Java programs that runs from Eclipse
本文介绍了设置从Eclipse运行的Java程序的内存的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在哪里可以把 -Xmms
-xms
flag?
解决方案
您可以为特定的运行配置设置VM参数:
运行→运行配置...→参数选项卡→VM参数
Btw,您可能需要尝试 -Xms
而不是 -Xmms
。
I'm running a Java application from Eclipse that need a lot of memory.
Where can i put the -Xmms
-xms
flag ?
解决方案
You can set the VM arguments for a specific run configuration:
Run → Run Configurations... → Arguments Tab → VM arguments
Btw, you may want to try -Xms
instead of -Xmms
.
这篇关于设置从Eclipse运行的Java程序的内存的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文