Eclipse JVM needs to load the same classes as command line build plus all the eclipse code. It is expected to use much much more permgen memory. You can increase permgen memory in eclipse.ini.
Having said that, there was a slow memory leak in m2e, which could cause permgen oome on very long running eclipse instances. m2e basically never released maven plugin classloaders, so if you change plugin versions in your projects or use snapshot plugins, eclipse eventually ran out of memory. This particular problem is fixed in m2e 1.6, so you may want to try recent snapshot to see if it works better for you. -- Regards, Igor On 2014-10-02, 14:48, Jason W. King wrote:
Good afternoon, Sometimes when running a Maven build (clean install) inside of eclipse, the build will fail with an error indicating that it ran out of PermGen space. If I run the same build from the command line outside of Eclipse, I don’t get this error. Any help would be greatly appreciated. Thanks! Jason King Software Engineer Open Roads Consulting, Inc. (757) 546-3401 | [email protected] <mailto:[email protected]> ------------------------------------------------------------------------ This email communication (including any attachments) may contain confidential and/or privileged material intended solely for the individual or entity to which it is addressed. If you are not the intended recipient, please delete this email immediately. _______________________________________________ m2e-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users
_______________________________________________ m2e-users mailing list [email protected] To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/m2e-users
