[gatein-dev] building gatein with a clean maven repo
Matt Wringe
mwringe at redhat.com
Fri Oct 30 15:18:01 EDT 2009
On Fri, 2009-10-30 at 21:14 +0200, Nadia Zavalko wrote:
> Matt, good evening!
> env: Linux openSuse 1.11, java 6
> Exception about 'java heap space" comes from maven options (please,
> check them).
>
> I have these strings in my .profile
> MAVEN_OPTS="-Xmx1800m"
> JAVA_OPTS='-XX:PermSize=256m'
>
> Try, it should help. I've built it couple minutes ago without problems.
I have already tried, same problem.
Did you build it with a new clean maven repo? ie
-Dmaven.repo.local=[some new directory]
>
>
> 2009/10/30 Arnaud HERITIER <aheritier at gmail.com>:
> > It seems this is because exoPackage calls many times maven in the same VM to
> > do dependency:get and there is a memory leak.
> > The script mustn't take care of MAVEN_OPTS but JAVA_OPTS it should.
> > Dimitry won't be back before tuesday. I will try to reproduce it locally and
> > if possible to fix it.
> > Arnaud
> >
> > On Fri, Oct 30, 2009 at 5:11 PM, Matt Wringe <mwringe at redhat.com> wrote:
> >>
> >> On Fri, 2009-10-30 at 16:25 +0100, Arnaud HERITIER wrote:
> >> > I didn't try for several weeks.
> >> > I don't remember to already had this issue.
> >> > Can you send me in private the full log. Perhaps I'll see something.
> >>
> >> full build log attached.
> >>
> >> >
> >> > Arnaud
> >> >
> >> > On Fri, Oct 30, 2009 at 3:10 PM, Matt Wringe <mwringe at redhat.com>
> >> > wrote:
> >> > Has anyone experienced problems when trying to build gatein
> >> > using a
> >> > clean (ie empty) maven repo?
> >> >
> >> > I can build the portal part fine, but when I go to package the
> >> > portal I
> >> > run into some issues. The packaging build claims it was
> >> > successful, but
> >> > there are error message like these in the logs:
> >> >
> >> > > [INFO] [INFO]
> >> >
> >> > ------------------------------------------------------------------------
> >> > > [INFO] [ERROR] FATAL ERROR
> >> > > [INFO] [INFO]
> >> >
> >> > ------------------------------------------------------------------------
> >> > > [INFO] [INFO] Java heap space
> >> > > [INFO] [INFO]
> >> >
> >> > ------------------------------------------------------------------------
> >> > > [INFO] [INFO] Trace
> >> > > [INFO] java.lang.OutOfMemoryError: Java heap space
> >> >
> >> > This will cause that part of the build to stop, but it still
> >> > continues
> >> > with the other part of the build and claims at the end that
> >> > the build is
> >> > successful when its not.
> >> >
> >> > This only occurs with a fresh maven repo and the Java heap
> >> > space issue
> >> > occurs after its been downloading artifacts for a while. The
> >> > downloading
> >> > of artifacts is also really slow and strange for the packaging
> >> > part.
> >> >
> >> > Has anyone else experience this? Or is it only me?
> >> >
> >> > On Linux with JDK 1.6 and Maven 2.2.1
> >> >
> >> > _______________________________________________
> >> > gatein-dev mailing list
> >> > gatein-dev at lists.jboss.org
> >> > https://lists.jboss.org/mailman/listinfo/gatein-dev
> >> >
> >> >
> >
> >
> > _______________________________________________
> > gatein-dev mailing list
> > gatein-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/gatein-dev
> >
> >
>
>
>
More information about the gatein-dev
mailing list