1. The problem with only using MAVEN_OPTS is that when plugins fork to run a
task in a separate JVM, the MAVEN_OPTS is not used.  This is where we need to
set the JVM property for the plugin that needs the memory.  I suggest tracking
to the plugin that causes the problem, and set its JVM property if possible.

2. Is it possible for you to try/use m1.1rc1 snapshot?  It is what we use and is
very good/stable (I wouldn't use 1.0.2 instead of 1.1 rc1); hopefully it would
work well for you.  Don't let the "rc1 snapshot" label trick you as to its
quality.  One of the reasons I suggest the upgrade is because I think more 1.1
plugins support that JVM property, and I'm not sure if the ones you need work
with 1.0.2.



Quoting emerson cargnin <[EMAIL PROTECTED]>:

> sorry, i forgot, we use manen 1.0.2, e i configured the OPT like
>
> MAVEN_OPTS=-Xmx2600m
>
> thanks
>
> On 19/04/07, emerson cargnin <[EMAIL PROTECTED]> wrote:
> > Hi there
> >
> > It happens when i create a site for a multiproject of about 17
> > project, during a compilation of one of the projects.
> >
> >     [exec] BUILD FAILED
> >     [exec] File......
> >
>
/subversion/users/svnclient/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
> >     [exec] Element... maven:reactor
> >     [exec] Line...... 103
> >     [exec] Column.... 9
> >     [exec] Unable to obtain goal [site] --
> >
>
/subversion/users/svn/.maven/cache/maven-jdepend-plugin-1.5/plugin.jelly:57:26:
> > <ant:java> java.io.IOException: java.io.IOException: Cannot allocate
> > memory
> >
> > thanks a lot
> > Emerson
> >
> > On 19/04/07, Jeff Jensen <[EMAIL PROTECTED]> wrote:
> > > What version of m1 are you using?
> > >
> > > What plugin(s) encounters the OOM?  Many plugins have JVM settings
> property to
> > > enable setting the max mem, e.g. -Xmx1024m.  It is expected to set this
> for
> > > sizable codebases.
> > >
> > >
> > > Quoting emerson cargnin <[EMAIL PROTECTED]>:
> > >
> > > > Does any one has a comparative relating to speed and memory
> > > > comsumption of M1 and M2.
> > > >
> > > > I'm getting loads of outof memory errors in M1 and as I'm trying to
> > > > convince the porting to M2 this would be a good point.
> > > >
> > > > Thanks a lot
> > > > emerson
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to