Setting memory of Java programs that runs from Eclipse
40,684
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.
Comments
-
Guillaume Massé over 3 years
I'm running a Java application from Eclipse that need a lot of memory.
Where can i put the
-Xmms
-xms
flag ? -
Guillaume Massé over 13 yearsUnrecognized option: -Xmms512m Could not create the Java virtual machine.
-
Guillaume Massé over 13 years-Xms512m -Xmx1024m ( I'm dysleixc )