Increase heap size in m2e Eclipse plugin

前端 未结 5 1796
无人及你
无人及你 2020-12-30 03:58

How does one increase the heap size of the m2e Eclipse plugin? Basically, I\'m trying to run an automated integration test using Cargo and Selenium under STS (SpringSource\'

5条回答
  •  别那么骄傲
    2020-12-30 04:42

    When working with the Maven 2 plugin, setting java options in eclipse.ini or MAVEN_OPTS environment variable will have no effect on your build. You need to add some command line args via the "Edit Configuration and launch" dialog in Eclipse.

    "Run As" > "Maven Build", click on the "JRE" tab, enter VM args e.g.

    -Xms128M -Xmx512M

提交回复
热议问题