简体   繁体   English

设置从Eclipse运行的Java程序的内存

[英]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.

相关问题 Java程序在Eclipse中运行。 无法作为可运行的Jar - Java programs runs in eclipse. Fails as runnable Jar 一次从Eclipse运行两个Java程序? - Run two Java programs from Eclipse at once? 在Eclipse中运行Java程序 - running java programs in Eclipse 当程序在Eclipse IDE中运行且没有任何错误时,无法使用Java Applet中的FileReader打开文件 - Unable to open a file using FileReader in java applet while the programs runs without any error in Eclipse IDE 如何在Mac上使用终端从Eclipse编译Java程序 - How to compile Java programs from Eclipse using terminal on a Mac Java〜读取外部程序存储器 - Java ~ Read external programs memory Java 中的 Rest 服务从 Tomcat 服务器运行,但不在 Z32F72220261946F303EZEZ8787 内 - Rest service in Java runs from Tomcat server but not inside Eclipse Android - Eclipse忽略Java代码,仅从XML文件运行 - Android - Eclipse ignoring Java code, only runs from XML file 在命令提示符下编译并运行Java程序(在Eclipse中运行) - Compiling and running java program from command prompt (It runs in Eclipse) 控制台用尽了Java堆空间内存,但是Eclipse的设置不相同 - Console runs out of java heap space memory, but Eclipse does not with same settings
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM