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 11:33
Alan DW is currently offline Alan DW
Messages: 105
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:Avast Security 9.0 blocks debugger port
Goto Forum:
  


Current Time: Mon Sep 01 14:36:51 EDT 2014

Powered by FUDForum. Page generated in 0.01840 seconds