You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shiro.apache.org by Allan Ditzel <al...@gmail.com> on 2011/09/28 17:07:11 UTC
Maven heap size for project compilation
Hey all,
How large a heap size do we need to have set for maven in MAVEN_OPTS? Right
now I have my max heap size set to 2048m and the build hangs at packing
the jnlp/unprocessed_spring-beans-3.0.5.RELEASE.jar.
Any input would be welcome!
Thanks,
Allan
Re: Maven heap size for project compilation
Posted by Allan Ditzel <al...@gmail.com>.
That worked like a champ. Thanks! :-)
Allan
On Wed, Sep 28, 2011 at 11:37 AM, Les Hazlewood <lh...@apache.org>wrote:
> This works for me:
>
> lhazlewood:../projects/shiro/trunk$ echo $MAVEN_OPTS
> -Xms256m -Xmx1g -XX:PermSize=128m -XX:MaxPermSize=384m
>
> These are my general settings since I build a lot of projects w/ Maven
> (some much bigger than Shiro), so they are not Shiro-targeted per se -
> they just happen to work for me for all of my projects.
>
> HTH!
>
> Les
>
> On Wed, Sep 28, 2011 at 8:07 AM, Allan Ditzel <al...@gmail.com>
> wrote:
> > Hey all,
> >
> > How large a heap size do we need to have set for maven in MAVEN_OPTS?
> Right
> > now I have my max heap size set to 2048m and the build hangs at packing
> > the jnlp/unprocessed_spring-beans-3.0.5.RELEASE.jar.
> >
> > Any input would be welcome!
> >
> > Thanks,
> >
> > Allan
>
Re: Maven heap size for project compilation
Posted by Les Hazlewood <lh...@apache.org>.
This works for me:
lhazlewood:../projects/shiro/trunk$ echo $MAVEN_OPTS
-Xms256m -Xmx1g -XX:PermSize=128m -XX:MaxPermSize=384m
These are my general settings since I build a lot of projects w/ Maven
(some much bigger than Shiro), so they are not Shiro-targeted per se -
they just happen to work for me for all of my projects.
HTH!
Les
On Wed, Sep 28, 2011 at 8:07 AM, Allan Ditzel <al...@gmail.com> wrote:
> Hey all,
>
> How large a heap size do we need to have set for maven in MAVEN_OPTS? Right
> now I have my max heap size set to 2048m and the build hangs at packing
> the jnlp/unprocessed_spring-beans-3.0.5.RELEASE.jar.
>
> Any input would be welcome!
>
> Thanks,
>
> Allan