I have this problem today. This happened completely unexpectedly. Yesterday I upgraded the JDK / JRE from 1.6.0_13 to 1.6.0_21 to fix a specific Glassfish 3.0.1 problem, and Eclipse suddenly broke these OutOfMemoryError: PermGen space errors. After (incorrectly) smoothing the Glassfish plugin and concluding that the problem has not been fixed after cleaning the workspace metadata, it turns out that this is caused by changing the JVM provider string from "Sun" to "Oracle" from version 1.6.0_20, Eclipse does not Recognizes the new JVM provider and therefore does not apply VM arguments as specified in eclipse.ini .
This was reported as an Eclipse issue 319514 , and the Eclipse boys quickly released a patch . Until they are fixed longer, the workaround is to add the following lines to eclipse.ini :
-XX: MaxPermSize = 256m
So, if you recently made a JVM update, it might be worth a look at it.
BalusC Jul 19 '10 at 17:18 2010-07-19 17:18
source share