How can I set VM options in a Java Netbeans Platform Modular Project?

后端 未结 7 1942
暖寄归人
暖寄归人 2020-12-15 07:10

I have a Netbeans Platform modular project, not a regular Java project. I want to set VM options to increase memory, but under the \"properties\" dialog, there is no way to

7条回答
  •  悲哀的现实
    2020-12-15 07:39

    It is quite easy, in fact. Just modify project.properties file to include the following line:

    Edited:

    run.args.extra=-J-Xmx768m
    

    Of course, you can include any other JVM options there.

    Enjoy.

提交回复
热议问题