OOME when trying to debug my plug-in
This occurs on the console when I try to open a very small test project:
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.intellij.diagnostic.PerformanceWatcher.a(PerformanceWatcher.java:89)
at com.intellij.diagnostic.PerformanceWatcher.e(PerformanceWatcher.java:51)
at com.intellij.diagnostic.PerformanceWatcher.c(PerformanceWatcher.java:72)
at com.intellij.diagnostic.PerformanceWatcher.access$000(PerformanceWatcher.java:76)
at com.intellij.diagnostic.PerformanceWatcher$1.run(PerformanceWatcher.java:1)
at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.OutOfMemoryError: PermGen space
--
Tom
Please sign in to leave a comment.
Add -XX:MaxPermSize=120m to VM settings
Tom wrote:
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>>
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>>
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> com.intellij.diagnostic.PerformanceWatcher.a(PerformanceWatcher.java:89)
>> at
>> com.intellij.diagnostic.PerformanceWatcher.e(PerformanceWatcher.java:51)
>> at
>> com.intellij.diagnostic.PerformanceWatcher.c(PerformanceWatcher.java:72)
>> at
>> com.intellij.diagnostic.PerformanceWatcher.access$000(PerformanceWatcher.java:76)
>>
>> at
>> com.intellij.diagnostic.PerformanceWatcher$1.run(PerformanceWatcher.java:1)
>>
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: java.lang.OutOfMemoryError: PermGen space
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
Hello Tom,
Please ensure that the run configuration for your plugin specifies a reasonable
-XX:MaxPermSize value.
>> java.lang.reflect.InvocationTargetException
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
>> java:39)
>> at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
>> sorImpl.java:25)
>> at java.lang.reflect.Method.invoke(Method.java:597)
>> at
>> com.intellij.diagnostic.PerformanceWatcher.a(PerformanceWatcher.java:
>> 89)
>> at
>> com.intellij.diagnostic.PerformanceWatcher.e(PerformanceWatcher.java:
>> 51)
>> at
>> com.intellij.diagnostic.PerformanceWatcher.c(PerformanceWatcher.java:
>> 72)
>> at
>> com.intellij.diagnostic.PerformanceWatcher.access$000(PerformanceWatc
>> her.java:76)
>> at
>> com.intellij.diagnostic.PerformanceWatcher$1.run(PerformanceWatcher.j
>> ava:1)
>> at java.lang.Thread.run(Thread.java:619)
>> Caused by: java.lang.OutOfMemoryError: PermGen space
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"