[英]Setting memory of Java programs that runs from Eclipse
I'm running a Java application from Eclipse that need a lot of memory. 我正在运行Eclipse中需要大量内存的Java应用程序。
Where can i put the
-Xmms
-xms
flag ? 我在哪里可以放
-Xmms
-xms
标志?
You can set the VM arguments for a specific run configuration: 您可以为特定的运行配置设置VM参数:
Run → Run Configurations... → Arguments Tab → VM arguments 运行→运行配置...→参数选项卡→VM参数
Btw, you may want to try -Xms
instead of -Xmms
. 顺便说一句,你可能想尝试-Xms
而不是-Xmms
。
from the run menu select run configuration. 从运行菜单中选择运行配置。 you can add specific parameters to each of your run configurations individually. 您可以单独为每个运行配置添加特定参数。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.