It seems this is because exoPackage calls many times maven in the same VM to do dependency:get and there is a memory leak.<div>The script mustn't take care of MAVEN_OPTS but JAVA_OPTS it should.</div><div>Dimitry won't be back before tuesday. I will try to reproduce it locally and if possible to fix it.</div>
<div><div><br></div><div>Arnaud<br><br><div class="gmail_quote">On Fri, Oct 30, 2009 at 5:11 PM, Matt Wringe <span dir="ltr"><<a href="mailto:mwringe@redhat.com">mwringe@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Fri, 2009-10-30 at 16:25 +0100, Arnaud HERITIER wrote:<br>
> I didn't try for several weeks.<br>
> I don't remember to already had this issue.<br>
> Can you send me in private the full log. Perhaps I'll see something.<br>
<br>
</div>full build log attached.<br>
<div><div></div><div class="h5"><br>
><br>
> Arnaud<br>
><br>
> On Fri, Oct 30, 2009 at 3:10 PM, Matt Wringe <<a href="mailto:mwringe@redhat.com">mwringe@redhat.com</a>><br>
> wrote:<br>
> Has anyone experienced problems when trying to build gatein<br>
> using a<br>
> clean (ie empty) maven repo?<br>
><br>
> I can build the portal part fine, but when I go to package the<br>
> portal I<br>
> run into some issues. The packaging build claims it was<br>
> successful, but<br>
> there are error message like these in the logs:<br>
><br>
> > [INFO] [INFO]<br>
> ------------------------------------------------------------------------<br>
> > [INFO] [ERROR] FATAL ERROR<br>
> > [INFO] [INFO]<br>
> ------------------------------------------------------------------------<br>
> > [INFO] [INFO] Java heap space<br>
> > [INFO] [INFO]<br>
> ------------------------------------------------------------------------<br>
> > [INFO] [INFO] Trace<br>
> > [INFO] java.lang.OutOfMemoryError: Java heap space<br>
><br>
> This will cause that part of the build to stop, but it still<br>
> continues<br>
> with the other part of the build and claims at the end that<br>
> the build is<br>
> successful when its not.<br>
><br>
> This only occurs with a fresh maven repo and the Java heap<br>
> space issue<br>
> occurs after its been downloading artifacts for a while. The<br>
> downloading<br>
> of artifacts is also really slow and strange for the packaging<br>
> part.<br>
><br>
> Has anyone else experience this? Or is it only me?<br>
><br>
> On Linux with JDK 1.6 and Maven 2.2.1<br>
><br>
> _______________________________________________<br>
> gatein-dev mailing list<br>
> <a href="mailto:gatein-dev@lists.jboss.org">gatein-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/gatein-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/gatein-dev</a><br>
><br>
><br>
</div></div></blockquote></div><br></div></div>