Setting memory of Java programs that runs from Eclipse

前端 未结 2 962
庸人自扰
庸人自扰 2020-12-01 23:24

I\'m running a Java application from Eclipse that need a lot of memory.

Where can i put the -Xmms-xms flag ?

相关标签:
2条回答
  • 2020-12-01 23:58

    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.

    0 讨论(0)
  • 2020-12-02 00:21

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

    0 讨论(0)
提交回复
热议问题