Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Common Build Infrastructure/Testing/VMArgs"
Line 17: | Line 17: | ||
echotestproperties=true | echotestproperties=true | ||
− | * Set some -X flags | + | * Set some -X flags or -D flags, eg. to add more heap, permgen, or open files (<code>osgi.bundlefile.limit</code>; see {{bug|106396}}) |
Xflags= -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m | Xflags= -Xms512m -Xmx1024m -XX:PermSize=128m -XX:MaxPermSize=256m | ||
− | |||
− | |||
− | |||
Dflags=-Dosgi.bundlefile.limit=100 | Dflags=-Dosgi.bundlefile.limit=100 | ||
− | |||
− | |||
− | |||
− | |||
[[Category:Athena Common Build]] | [[Category:Athena Common Build]] | ||
[[Category:Draft_Documentation]] | [[Category:Draft_Documentation]] |
Revision as of 00:39, 2 February 2010
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:
- To use a different library-file than the default from org.eclipse.test/library.xml (eg., custom-library.xml)
library-file=${relengCommonBuilderDir}/builder/tests/custom-library.xml
or
library-file=${relengBuilderDir}/my-own-library.xml
- To dump test properties into console log and separate file for debugging purposes
echotestproperties=true
- 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 Dflags=-Dosgi.bundlefile.limit=100