Still seeing out of memory errors

Hi all,

I spoke too soon - I'm still seeing PermGen out of memory errors when I try running my custom language plugin, even with MaxPermGen space at 512MB and max heap size at 1024MB. Again, this only happens when I go into the settings dialog and try to do stuff. Here's another example of a stack trace:

java.lang.OutOfMemoryError: PermGen space
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:675)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:520)
    at com.intellij.util.lang.UrlClassLoader._defineClass(UrlClassLoader.java:119)
    at com.intellij.util.lang.UrlClassLoader.defineClass(UrlClassLoader.java:115)
    at com.intellij.util.lang.UrlClassLoader._findClass(UrlClassLoader.java:91)
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClassInsideSelf(PluginClassLoader.java:78)
    at com.intellij.ide.plugins.cl.PluginClassLoader.loadClass(PluginClassLoader.java:41)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:374)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:242)
    at com.intellij.openapi.extensions.AbstractExtensionPointBean.findClass(AbstractExtensionPointBean.java:34)
    at com.intellij.openapi.extensions.AbstractExtensionPointBean.instantiate(AbstractExtensionPointBean.java:43)
    at com.intellij.openapi.extensions.CustomLoadingExtensionPointBean.instantiateExtension(CustomLoadingExtensionPointBean.java:29)
    at com.intellij.codeInsight.intention.IntentionActionBean.instantiate(IntentionActionBean.java:70)
    at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getDelegate(IntentionActionWrapper.java:2)
    at com.intellij.codeInsight.intention.impl.config.IntentionActionWrapper.getFamilyName(IntentionActionWrapper.java:10)
    at com.intellij.codeInsight.intention.impl.config.IntentionActionMetaData.getFamily(IntentionActionMetaData.java)
    at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.registerMetaData(IntentionManagerSettings.java:17)
    at com.intellij.codeInsight.intention.impl.config.IntentionManagerSettings.registerIntentionMetaData(IntentionManagerSettings.java:2)
    at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.registerIntentionAndMetaData(IntentionManagerImpl.java:30)
    at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.registerIntentionAndMetaData(IntentionManagerImpl.java:31)
    at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.a(IntentionManagerImpl.java:18)
    at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.access$000(IntentionManagerImpl.java:27)
    at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl$1.extensionAdded(IntentionManagerImpl.java:5)
    at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl$1.extensionAdded(IntentionManagerImpl.java:4)
    at com.intellij.openapi.extensions.impl.ExtensionPointImpl.addExtensionPointListener(ExtensionPointImpl.java:279)
    at com.intellij.codeInsight.intention.impl.config.IntentionManagerImpl.<init>(IntentionManagerImpl.java:12)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)


Any ideas?

Thanks,
KurtC

Please sign in to leave a comment.