Setting memory of Java programs that runs from Eclipse
I'm running a Java application from Eclipse that need a lot of memory.
Where can i put the -Xmms
-xms
flag ?
Solution 1:
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
.
Solution 2:
from the run menu select run configuration. you can add specific parameters to each of your run configurations individually.