Eclipse Helios permgen space error Solution

Source: Internet
Author: User

When running eclipse3.6 Helios, it is easy to report "Java. lang. outofmemoryerror: permgen space "error, and then the entire eclipse will die, especially when loading Web projects for JSP pre-compilation, it is easier to report errors.

Permgen space is a memory area that stores the radioactive metadata of class objects and methods. The solution is to increase the memory area when eclipse is started.

Modify eclipse. ini and add the following two lines:

-XX: permsize = 128 m
-XX: maxpermsize = 128 m

From the information on the Internet, permsize is certainly better, and it is best to set the permsize as large as maxpermsize. The reasons are as follows:
If the permsize and maxpermsize are set to the same, the performance can be improved to a certain extent, because the permsize will need to be transferred during constant changes. If it is fixed, the performance loss caused by each expansion of permsize can be reduced.

From: http://lveyo.info/eclipse-helios-permgen-space-error.html

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.