Eclipse's Unhandled event loop exception PermGen space issue

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.