Igor and I have been moving a vast project with hundreds of modules (200 to 400 
to 500) from 3.1.0 through 3.2.4-SNAPSHOT and don't observe this drastic 
change. We would definitely notice.

Are all your plugin versions locked down in that they don't vary  even though 
the version of Maven does? Also are you running reporting in here? 

On Oct 16, 2014, at 5:12 AM, Jörg Schaible <[email protected]> wrote:

> Hi folks,
> 
> we have a single build with currently ~400 projects (incl. builders i.e. 
> POMs having modules only). We are already used to increase the provided 
> memory in MAVEN_OPTS, but lately we have troubles to build at all because of 
> OOMEs (heap). Look at following numbers building with the different Maven 
> versions (latest Oracle JDK 7 on 64-bit Linux):
> 
> ====================== %< =======================
> $ MAVEN_OPTS="-Xmx640m" mvn-3.0.5 validate
> ...
> [INFO] -----------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] -----------------------------------------------------------------
> [INFO] Total time: 25.392s
> [INFO] Finished at: Thu Oct 16 10:02:56 CEST 2014
> [INFO] Final Memory: 276M/511M
> [INFO] -----------------------------------------------------------------
> ====================== %< =======================
> 3.0.5 fails with 512 only.
> 
> 
> ====================== %< =======================
> MAVEN_OPTS="-Xmx1100m" mvn-3.1.1 validate
> ...
> [INFO] -----------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] -----------------------------------------------------------------
> [INFO] Total time: 37.004s
> [INFO] Finished at: Thu Oct 16 10:13:36 CEST 2014
> [INFO] Final Memory: 431M/978M
> [INFO] -----------------------------------------------------------------
> ====================== %< =======================
> 3.1.1 fails with 1024m only.
> 
> 
> ====================== %< =======================
> MAVEN_OPTS="-Xmx2500m" mvn-3.2.3 validate
> ...
> [INFO] -----------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO] -----------------------------------------------------------------
> [INFO] Total time: 55.465 s
> [INFO] Finished at: 2014-10-16T10:27:42+02:00
> [INFO] Final Memory: 1488M/2222M
> [INFO] -----------------------------------------------------------------
> ====================== %< =======================
> 3.2.3 fails with 2400m only.
> 
> 
> The required memory increases dramatically from Maven version to version 
> just to calculate the build order list (the OOME occurs before this list is 
> printed).
> 
> - Jörg
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/takari_io
---------------------------------------------------------

There's no sense in being precise when you don't even know what you're talking 
about.

 -- John von Neumann









Reply via email to