Originally used eclipse3.5, recently tried to upgrade to 3.7 and 4.2, but whether it is 3.7 or 4.2 project compilation process always prompts "unhandled event loop exception PermGen space" Request Exit workspace, Compared with the original 3.5 version of the Eclipse.ini parameter settings found no difference, suspicion is the company's own development of plug-in problems, immediately delete their plug-ins, but still encountered the same problem, depressed had to go to Google for help.
The first solution to the search is to set the PermSize and MaxPermSize parameters to avoid depleting the memory of the permanent storage area, such as:
-xx:permsize=128m
-xx:maxpermsize=128m
After the change to recompile still error, depressed, did not solve the problem, try to turn up to 256M or the same mistake.
Continue to Google and find a seemingly questionable solution: "Do not change the filename of the eclipse.exe." Since there are multiple versions, it is really a question to name the 3.7 version of the eclipse37,4.2 version named Eclipse42, while the original version 3.5 retains the eclipse name? Dead Horse when live horse medicine, try to say, so the 3.5 version changed to ECLIPSE35, and 4.2 version to eclipse, and then compile with version 4.2, the problem is solved, a bit unexpected, immediately use the same method to try the 3.7 version, the problem does not appear again.
Eclipse is too serious about the name, to defend the copyright, anything can do, no language!
Source: http://stevex.blog.51cto.com/4300375/994544