You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by emerson cargnin <ec...@gmail.com> on 2007/04/19 16:03:16 UTC

Benchmark M1 - M2

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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Benchmark M1 - M2

Posted by emerson cargnin <ec...@gmail.com>.
Thanks Jeff, I'll give it a try

On 19/04/07, Jeff Jensen <jj...@apache.org> wrote:
> 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 <ec...@gmail.com>:
>
> > 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 <ec...@gmail.com> 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 <je...@upstairstechnology.com> 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 <ec...@gmail.com>:
> > > >
> > > > > 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: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Benchmark M1 - M2

Posted by Jeff Jensen <jj...@apache.org>.
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 <ec...@gmail.com>:

> 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 <ec...@gmail.com> 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 <je...@upstairstechnology.com> 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 <ec...@gmail.com>:
> > >
> > > > 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: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > > >
> > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Benchmark M1 - M2

Posted by emerson cargnin <ec...@gmail.com>.
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 <ec...@gmail.com> 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 <je...@upstairstechnology.com> 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 <ec...@gmail.com>:
> >
> > > 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: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> >
> >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Benchmark M1 - M2

Posted by emerson cargnin <ec...@gmail.com>.
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 <je...@upstairstechnology.com> 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 <ec...@gmail.com>:
>
> > 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Benchmark M1 - M2

Posted by Jeff Jensen <je...@upstairstechnology.com>.
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 <ec...@gmail.com>:

> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org