Setting memory of Java programs that runs from Eclipse

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.

Leave a Comment