Did you try adding command line args via the "Edit Configuration and launch"
dialog in Eclipse? Right-click on the project, select "Run As", select
"Maven Build", click on the "JRE" tab, enter VM args (-Xms1000000M for e.g.)

On Feb 1, 2008 6:22 AM, Priscille Durville <
[EMAIL PROTECTED]> wrote:

> Hi,
> While running goal "package" from within Eclipse via the Maven 2 plugin,
> I get a java heap space error. (My project has many dependencies).
> So I try to increase the java memory size by :
> - setting java options in eclipse.ini => no effect.
> - setting the MAVEN_OPTS environment variable => no effect
> When I try to package my project directly from the command line : it
> works fine (because MAVEN_OPTS variable is taken into account).
> So, how can I do in order to increase the memory size while running
> maven from within Eclipse?
> Thanks a lot.
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>

Reply via email to