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 <[email protected]> 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

Reply via email to