Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Increase maven memory?

Great!

Thanks!

Keith


On Thu, Mar 7, 2013 at 1:11 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx> wrote:
You can specify whatever maven jvm startup options you need on JRE Maven
launch configuration dialog tab.

--
Regards,
Igor


On 2013-03-07 1:00 PM, Keith Barlow wrote:
Hiyas,

I am running M2E 1.3.1 and have it configured to run the external
version of maven I have installed on my system.  When I compile my
project on the command line, it compiles fine but when I launch the
compilation through eclipse, I am getting PermGen errors:

[INFO]
------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Compilation failure
Failure executing javac, but could not parse the error:


The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError: PermGen space

Is it possible to configure the amount of memory available for the
external invocation?  I already have  MAVEN_OPTS set:

MAVEN_OPTS=-Xmx1024m -XX:MaxPermSize=256m

but like I said, the command line works while the M2E execution fails.
  Will maven not respect this setting when launched via M2E?

Thanks.

Keith

--
Keith Barlow

/Software Engineer/
*Dell Boomi*


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users

_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users



--
Keith Barlow

Software Engineer
Dell Boomi

Back to the top