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 com.taobao.logistics:logistics-common:jar:2.4.5 is 
invalid, transitive dependencies (if any) will not be available, enable debug 
logging for more details  
[WARNING] The POM for 
com.taobao.thboss:thboss-common:jar:1.0.2-20131230.121421-32 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details  
[WARNING] The POM for 
com.taobao.hbaseextend:hbase-client:jar:1.0.1-20121211.063750-2 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details  
[WARNING] The POM for 
com.taobao.hbaseextend:hbasetransit-client:jar:1.0.1-20121211.064048-1 is 
invalid, transitive dependencies (if any) will not be available, enable debug 
logging for more details  
[WARNING] The POM for 
com.taobao.sharereport:share-report-common:jar:1.5.1-20121030.080558-17 is 
invalid, transitive dependencies (if any) will not be available, enable debug 
logging for more details  
[WARNING] The POM for 
com.taobao.trade:tradeback-client:jar:1.0.0-20131118.063752-35 is invalid, 
transitive dependencies (if any) will not be available, enable debug logging 
for more details  
[ERROR] GC overhead limit exceeded -> [Help 1]  
[ERROR]  
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.  
[ERROR] Re-run Maven using the -X switch to enable full debug logging.  
[ERROR]  
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:  
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError


the jvm is full and a log of full gc happening, gc stat:

  S0     S1     E      O      P     YGC     YGCT    FGC    FGCT     GCT
  0.00   0.00 100.00 100.00  67.33     50    5.925    39  101.650  107.575
  0.00   0.00 100.00 100.00  67.33     50    5.925    39  101.650  107.575
  0.00   0.00 100.00 100.00  67.33     50    5.925    39  101.650  107.575
  0.00   0.00 100.00 100.00  67.33     50    5.925    40  104.805  110.730
  0.00   0.00 100.00 100.00  67.33     50    5.925    40  104.805  110.730
  0.00   0.00 100.00 100.00  67.33     50    5.925    40  104.805  110.730
  0.00   0.00 100.00 100.00  67.33     50    5.925    41  107.840  113.765
  0.00   0.00 100.00 100.00  67.33     50    5.925    41  107.840  113.765
  0.00   0.00 100.00 100.00  67.33     50    5.925    41  107.840  113.765
  0.00   0.00 100.00 100.00  67.33     50    5.925    42  110.864  116.788
  0.00   0.00 100.00 100.00  67.33     50    5.925    42  110.864  116.788
  0.00   0.00 100.00 100.00  67.33     50    5.925    42  110.864  116.788
  0.00   0.00  95.86 100.00  67.33     50    5.925    42  114.029  119.954
  0.00   0.00 100.00 100.00  67.33     50    5.925    43  114.029  119.954
  0.00   0.00 100.00 100.00  67.33     50    5.925    43  114.029  119.954
  0.00   0.00 100.00 100.00  67.33     50    5.925    43  114.029  119.954
  0.00   0.00 100.00 100.00  67.33     50    5.925    44  117.087  123.011

and the vm is full of org.eclipse.aether.graph.DefaultDependencyNode

$ jmap -histo 4072 | head -30

 num     #instances         #bytes  class name
----------------------------------------------
   1:       5019593      281097208  
org.eclipse.aether.graph.DefaultDependencyNode
   2:       6075641      145815384  java.util.ArrayList
   3:       6076588      116705216  [Ljava.lang.Object;
   4:       2375373       76011936  
org.eclipse.aether.internal.impl.DataPool$GraphKey
   5:       2439860       58556640  java.util.HashMap$Entry
   6:        231529       34940048  [Ljava.util.HashMap$Entry;
   7:        231420       34810936  [Lorg.eclipse.aether.graph.Exclusion;
   8:        598180       28712640  
org.eclipse.aether.repository.RemoteRepository
   9:        839969       26879008  java.util.LinkedHashMap$Entry
  10:        597260       15767704  
[Lorg.eclipse.aether.repository.RemoteRepository;
  11:        208071       11651976  java.util.LinkedHashMap
  12:        597288        9556608  java.util.Arrays$ArrayList
  13:        597269        9556304  
java.util.Collections$UnmodifiableRandomAccessList
  14:        125479        7259280  [C
  15:         29099        3530504  <constMethodKlass>
  16:        197851        3165616  java.util.Collections$SingletonList
  17:        197706        3163296  java.util.HashMap$KeySet
  18:        197476        3159616  java.util.LinkedHashSet
  19:        197349        3157584  
org.eclipse.aether.util.graph.selector.AndDependencySelector
  20:        197347        3157552  
org.eclipse.aether.util.graph.selector.ExclusionDependencySelector
  21:        124674        2992176  java.lang.String
  22:         29099        2564344  <methodKlass>
  23:         54598        2183920  org.eclipse.aether.artifact.DefaultArtifact
  24:          3089        1623136  <constantPoolKlass>
  25:         54968        1319232  org.eclipse.aether.graph.Dependency
  26:          3089        1237432  <instanceKlassKlass>
  27:         23456        1125888  java.util.HashMap

$mvn dependency:tree works well

Sorry i can not paste the full project’s POM for company security reasons, but 
let me know if any other info I missed.

Thanks
--  
Juven Xu
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)

Reply via email to