I have installed Eclipse Juno and integrated Maven, but when I try to create a Maven project, it is showing the error, Retrieving archetypes: GC overhead limit exceeded. Before I had Juno installed, I Kepler installed and used the same Maven and it worked fine.
Asked
Active
Viewed 1,885 times
2
Tripp Kinetics
- 5,039
- 2
- 22
- 36
Pradeep
- 966
- 1
- 8
- 24
1 Answers
7
You might have lost your JVM tuning around heap size with new installation
edit your eclipse.ini
and modify the values below to change Java's initial & maximum memory allocation
-vmargs
-Xms512mm
-Xmx2g
Provide appropriate values as per your environment.
Stevoisiak
- 20,148
- 23
- 110
- 201
jmj
- 232,312
- 42
- 391
- 431
-
increased heap memory to 2GB but still am facing the same issue@jigar – Pradeep Feb 26 '15 at 20:02
-
feel free to [mark it accepted](http://meta.stackexchange.com/questions/5234/how-does-accepting-an-answer-work) – jmj Feb 26 '15 at 20:08
-
but my old projects which are there in my eclipse IDE shows red color cross mark on top of project.but project running fine.why it is showing as error? – Pradeep Feb 26 '15 at 20:09
-
`windows > show view > problems` will show your all the error messages – jmj Feb 26 '15 at 20:09
-
@JigarJoshi Thanks for your solution... I resolved this issue with your answer :) – Madhusudan May 12 '16 at 15:44
-
@JigarJoshi: I am using Eclipse Neon 3 in Windows, -Xms512mm not work: "Cannot create Java virtual machine", when I change to -Xms512m, its worked, is it a type or have some mean? – Andiana Jul 08 '17 at 04:37
-
1One important note is to fully restart Eclipse. If you use the `Restart` option from the main menu, the memory settings seem to be preserved. – JohnEye Mar 15 '18 at 12:16