Jump to: navigation, search

Common Build Infrastructure/Testing/VMArgs

Draft Content
This page is currently under construction. Community members are encouraged to maintain the page, and make sure the information is accurate.

Depending on your hardware, the default settings for the Eclipse Test Framework, as outlined in org.eclipse.test/library.xml, may be insufficient to run your tests without an OutOfMemory error or permgen crash.

Below are some settings you can define in your testing.properties file:

# or #
  • To dump test properties into console log and separate file for debugging purposes
  • Set some -X flags or -D flags, eg. to add more heap, permgen, or open files (osgi.bundlefile.limit; see bug 106396)
Xflags= -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m