Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-28 Thread Juven Xu
The background is, i’m helping migrating a huge project from maven2 to maven3, and I noticed this project is using dozens of SNAPSHOT dependencies, and more than hundred transitive SNAPSHOT dependencies, after updating most of the SNAPSHOT direct dependencies to RELEASE dependencies, the crash

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-28 Thread Mark Derricutt
Sounds exactly like the problem I've been having locally on our integration tests, only in that instance its lots of version ranges ( using SNAPSHOTs ) that have transitive ranges (also using SNAPSHOTs ). Maven would just lock up, altho it's really just taking a LNG time walking the

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-27 Thread Juven Xu
after enabling debug log I got 1.1G log full of lines of this: [DEBUG] Using mirror tbmirror (http://mvnrepo.taobao.ali.com/mvn/repository) for sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots). [DEBUG] Using mirror tbmirror

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-27 Thread Barrie Treloar
On 27 August 2014 17:05, Juven Xu juvens...@gmail.com wrote: after enabling debug log I got 1.1G log full of lines of this: [DEBUG] Using mirror tbmirror ( http://mvnrepo.taobao.ali.com/mvn/repository) for sonatype-nexus-snapshots ( https://oss.sonatype.org/content/repositories/snapshots).

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-27 Thread Juven Xu
yes I can confirm the mirror is ok. I've built many projects with the same mirror, but only this project crashes. -- View this message in context:

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-27 Thread Kristian Rosenvold
Did you try increasing memory for maven through MAVEN_OPTS, maybe something like -Xmx1024m or more ? Kristian 2014-08-27 10:37 GMT+02:00 Juven Xu juvens...@gmail.com: yes I can confirm the mirror is ok. I've built many projects with the same mirror, but only this project crashes. --

Re: maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-27 Thread Stuart McCulloch
I wonder if this might be related to https://bugs.eclipse.org/bugs/show_bug.cgi?id=418250 ? On 27 Aug 2014, at 04:35, Juven Xu juvens...@gmail.com wrote: maven: 3.1.1 jdk: 1.7.0_25 Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode) the error message is: [INFO] Building

maven 3.1.1 crashes on GC overhead limit exceeded with millions of org.eclipse.aether.graph.DefaultDependencyNode

2014-08-26 Thread Juven Xu
maven: 3.1.1 jdk: 1.7.0_25 Java HotSpot(TM) Server VM (build 23.25-b01, mixed mode) the error message is: [INFO] Building buy-client 1.1.8-o2o630-SNAPSHOT [INFO] [WARNING] The POM for