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