]> source.dussan.org Git - jgit.git/commitdiff
Increase heap size for jgit tests 35/1435/2
authorMatthias Sohn <matthias.sohn@sap.com>
Thu, 26 Aug 2010 22:26:25 +0000 (00:26 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Thu, 26 Aug 2010 22:29:31 +0000 (00:29 +0200)
Otherwise PackFileTest.testDelta_LargeObjectChain() reproducibly
fails with OutOfMemoryError on Mac OS X 10.6.4.

Change-Id: I6a55ff9ba181102606a0d99ffd52392a1615a422
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit.test/org.eclipse.jgit.core--All-Tests (Java 6).launch
org.eclipse.jgit.test/pom.xml

index 1fa4b8fd53741542b5925c2bd1ed866cff58cbef..f253d592f401bc59ac9f726938483c5f5eb8ce88 100644 (file)
@@ -18,4 +18,5 @@
 <stringAttribute key="org.eclipse.jdt.launching.JRE_CONTAINER" value="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.6"/>
 <stringAttribute key="org.eclipse.jdt.launching.MAIN_TYPE" value=""/>
 <stringAttribute key="org.eclipse.jdt.launching.PROJECT_ATTR" value="org.eclipse.jgit.test"/>
+<stringAttribute key="org.eclipse.jdt.launching.VM_ARGUMENTS" value="-Xmx256m"/>
 </launchConfiguration>
index 892755957f300d49ce90d18b9f957e0d66f756ba..5a1f9e22190932aab5dc316fdd191c9a0c42b076 100644 (file)
         <artifactId>maven-surefire-plugin</artifactId>
         <version>2.4.2</version>
         <configuration>
-          <argLine>-Dfile.encoding=UTF-8</argLine>
+          <argLine>-Xmx256m -Dfile.encoding=UTF-8</argLine>
           <includes>
             <include>**/*Test.java</include>
             <include>**/*TestCase.java</include>