Skip to main content

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

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

Back to the top