Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » Set default VM arguments for all JUnit Tests?
Set default VM arguments for all JUnit Tests? [message #1184704] Wed, 13 November 2013 16:33
Alan DW is currently offline Alan DWFriend
Messages: 119
Registered: March 2012
Senior Member
Hello everyone,

I'm currently debugging my Eclipse Plug-In. It deals with EMF models and therefore requires a fair bit of memory. Without the "-XX:MaxPermSize=256m" VM argument, my Eclipse test instance crashes with an out-of-memory error.

This is not a big deal, since in the run config, this can be set up accordingly. However, if you try to run a single test method (instead of a class or suite), then JUnit will create a new launch configuration for this test - and again, you have to set up the VM argument.

The question is: is there a "central place" in the settings where I can set up my VM arguments in Eclipse which will be inherited by ALL run configurations, both existing and future? It's really annoying to have to set this argument for every test method that I'd like to run individually.

Thanks,


Alan
Previous Topic:Where exactly does a jsp page get deployed when run via Eclipse?
Next Topic:Kepler UI Bug After Linux Upgrade
Goto Forum:
  


Current Time: Thu Apr 25 12:03:27 GMT 2024

Powered by FUDForum. Page generated in 0.02697 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top