Solved :) http://jira.xwiki.org/jira/browse/XWIKI-4496
Caleb James DeLisle Caleb James DeLisle wrote: > Hi, > I have experienced the same problem. > I noticed that the memory used by java does not exceed 200Mb even if Xmx is > 2048m. > Also it seems that a separate java process is spawned to do the tests. > > Found this: > [nbdev] Re: Increased heap size does not apply to junit tests ... > http://markmail.org/message/2s6ejry3h46lijry > > I updated to revision 24348 (from 10/09/2009) which I think built okay > before, but I still got the error. > > I suspect a changed dependency just pushed it over the default 128m limit. > > Caleb James DeLisle > > Vincent Massol wrote: >> On Oct 18, 2009, at 9:29 AM, Vincent Massol wrote: >> >>> Hi, >>> >>> Today I just got my first OOM when building xwiki. It happened in >>> the xwiki-core tests: >>> >>> Running com.xpn.xwiki.notify.PropertyChangedRuleTest >>> org.apache.maven.surefire.booter.SurefireExecutionException: Java >>> heap space; nested exception is java.lang.OutOfMemoryError: Java >>> heap space >>> java.lang.OutOfMemoryError: Java heap space >>> >>> The bad part is that I'm building with: >>> MAVEN_OPTS=-Xmx1024m >>> >>> Anyone else has noticed a memory req increase in the build? >> The build stops on the PropertyChangedRuleTest so I believe there's a >> problem in the code somewhere that leads to the OOM. >> >> -Vincent >> >>> Thanks >>> -Vincent >> _______________________________________________ >> devs mailing list >> [email protected] >> http://lists.xwiki.org/mailman/listinfo/devs >> > > _______________________________________________ > devs mailing list > [email protected] > http://lists.xwiki.org/mailman/listinfo/devs > _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

