Hi, Even with -Xmx2048 it does not work. I keep increasing the memory until I reach the limit of my machine. No luck.
What settings are you using? --Hardy On Sat, 19 Dec 2009 07:08:54 -0300, Adam Warski <a...@warski.org> wrote: > Heh, the obvious thing to do - using Google - gave an answer. > It's a known problem when there are many tests: > http://code.google.com/p/testng/issues/detail?id=24 > > The only solution so far is to increase the memory for Maven. > > Adam > > On Dec 18, 2009, at 11:45 AM, Hardy Ferentschik wrote: > >> Hi, >> >> I used to have -Xmx1024m for $MAVEN_OPTS and I tried now also -Xmx512. >> I also tried different maven versions 2.2.1 and 3.0 alpha 5. All with >> the >> same result - OutOfMemoryError :( >> >> --Hardy >> >> >> >> >> On Fri, 18 Dec 2009 03:50:08 -0300, Adam Warski <a...@warski.org> wrote: >> >>> Hmm, I had this when I upgraded the TestNG dependency to 5.10, so I >>> reverted it back to 5.8 - do you have the latest pom? >>> >>> Also, my $MAVEN_OPTS are: -Xmx512m. >>> >>> Adam >>> >>> On Dec 18, 2009, at 4:24 AM, Hardy Ferentschik wrote: >>> >>>> Hi, >>>> >>>> just wondering whether someone could confirm that the reactor build of >>>> Core is broken. >>>> There is a sort of expected failure in >>>> EmbeddedTypeTest.testSingularAttributeAccessByNameFailureExpected >>>> in the entitymanager module. But even after commenting out this test >>>> I am >>>> not able to complete the build. >>>> I am having problems with the Envers test suite where I am getting an >>>> OutOfMemoryError: >>>> >>>> >>>> org.apache.maven.surefire.booter.SurefireExecutionException: Java heap >>>> space; nested exception is java.lang.OutOfMemoryError: Java heap space >>>> java.lang.OutOfMemoryError: Java heap space >>>> at >>>> java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:99) >>>> at >>>> java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:393) >>>> at java.lang.StringBuffer.append(StringBuffer.java:225) >>>> at >>>> org.testng.reporters.SuiteHTMLReporter.generateMethodsChronologically(SuiteHTMLReporter.java:429) >>>> at >>>> org.testng.reporters.SuiteHTMLReporter.generateReport(SuiteHTMLReporter.java:67) >>>> at org.testng.TestNG.generateReports(TestNG.java:735) >>>> at org.testng.TestNG.run(TestNG.java:721) >>>> at >>>> org.apache.maven.surefire.testng.TestNGExecutor.run(TestNGExecutor.java:74) >>>> at >>>> org.apache.maven.surefire.testng.TestNGXmlTestSuite.execute(TestNGXmlTestSuite.java:92) >>>> at org.apache.maven.surefire.Surefire.run(Surefire.java:177) >>>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) >>>> at >>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) >>>> at >>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) >>>> at java.lang.reflect.Method.invoke(Method.java:585) >>>> at >>>> org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345) >>>> at >>>> org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009) >>>> >>>> --Hardy >>>> >>>> >>>> _______________________________________________ >>>> hibernate-dev mailing list >>>> hibernate-dev@lists.jboss.org >>>> https://lists.jboss.org/mailman/listinfo/hibernate-dev >>> >> > _______________________________________________ hibernate-dev mailing list hibernate-dev@lists.jboss.org https://lists.jboss.org/mailman/listinfo/hibernate-dev