在进行maven构建ssm项目时,项目报错:

Myeclips出现An internal error occurred during: "Retrieving archetypes:". GC overhead limit exceeded

看了网上很多方法,基本上都是在myeclipse.ini中修改内存大小:

Myeclips出现An internal error occurred during: "Retrieving archetypes:". GC overhead limit exceeded

把文件中的这些代码:

vmargs
-Xmx768m
-XX:MaxPermSize=320m
-XX:ReservedCodeCacheSize=64m
-Dosgi.nls.warnings=ignore

更改为:

-vmargs
-Xms1024m
-Xmx1024m
-XX:MaxPermSize=1024m
-XX:ReservedCodeCacheSize=64m
-Dosgi.nls.warnings=ignore

修改完后,重启myeclipse,发现问题仍然存在,后来换了myclipse的工作空间,发现问题完美解决,能够快速构建maven了,

Myeclips出现An internal error occurred during: "Retrieving archetypes:". GC overhead limit exceeded

希望出现相同问题的,能够对大家有所帮助!!!

相关文章:

  • 2021-05-18
  • 2021-11-20
  • 2022-12-23
  • 2022-12-23
  • 2021-11-04
  • 2022-02-10
猜你喜欢
  • 2022-12-23
  • 2021-04-03
  • 2021-06-14
  • 2021-04-19
  • 2022-02-21
  • 2022-01-05
相关资源
相似解决方案