Guillaume Massé
Guillaume Massé

Reputation: 8064

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 ?

Upvotes: 20

Views: 41281

Answers (2)

aioobe
aioobe

Reputation: 420921

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.

Upvotes: 26

Bivas
Bivas

Reputation: 1494

from the run menu select run configuration. you can add specific parameters to each of your run configurations individually.

Upvotes: 1

Related Questions