On 11 May 2012 22:47, Anders Hammar <[email protected]> wrote: > This is not uncommon for large multi-module builds. You need to > increase the memory available for Maven, such as the heap depending on > the error you're getting. > Do this by setting the MAVEN_OPTS env variable.
I know, it is already getting 2GB. I can't set it any higher (Maven refuses to even start then). > My experience is that this is mainly due to the plugins being used in > the build, not Maven core. Are you using Maven 3? Maven 3 core has a > smaller memory footprint than Maven 2. Maven 3.0.3. Should Maven not simply release plugins (and the memory they use) between module builds? --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
