ALT-INSERT terrible slow

Hi,

since yesterday for some unknow reason ALT-INSERT is terrible slow. Can you give me any pointers where I should look at to investigate that problem?
It is really only the ALT-INSERT (generate code) once the popup appeared I can select entries very quick. Only the initial popup needs up to 1 minute to come up.

Thanks,
Rene

10 comments
Comment actions Permalink

Hello Rene,

If IntelliJ IDEA is unresponsive for more than 5 seconds, it logs thread
dumps in its logs directory. Please attach those thread dumps, and this would
let us see where the problem is.

since yesterday for some unknow reason ALT-INSERT is terrible slow.
Can you give me any pointers where I should look at to investigate
that problem?


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hi, Rene.
The best way to get what is happening it's to take a thread dump. fast way is to use bundled in jdk jvisualvm - http://download.oracle.com/javase/6/docs/technotes/guides/visualvm/threads.html So, reproduce, capture several thread dumps, then it will be possible to investigate the issue.

Regards, Alex.

0
Comment actions Permalink

Thanks for the quick replay, I was looking at logs directory already but not at ThreadDumps. Please see the attachment.

Kind Regards,
Rene



Attachment(s):
threadDump-20110508-115815.txt.zip
0
Comment actions Permalink

Hello Rene,

Unfortunately the attached thread dump isn't related to Alt-Ins, but rather
shows something that happened during initial indexing.

Thanks for the quick replay, I was looking at logs directory already
but not at ThreadDumps. Please see the attachment.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hi Dmitry,

I guessed already that it is not related since I dont see many thread dumps in the log folder. I noted that I can call generate getter/setter and eg override methods also by using "Enter Action Name". Maybe it will help me to find out what makes it so slow. Executing "Getter/Setter generation" by using "Enter Action Name" seems to be fast as usual.

Cheers,
Rene

0
Comment actions Permalink

Hello Rene,

Do you have any third-party plugins installed? Are you using Spring or any
such frameworks?

I guessed already that it is not related since I dont see many thread
dumps in the log folder. I noted that I can call generate
getter/setter and eg override methods also by using "Enter Action
Name". Maybe it will help me to find out what makes it so slow.
Executing "Getter/Setter generation" by using "Enter Action Name"
seems to be fast as usual.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Hi Dmitry,

I have several plugins installed but except for JProfiler and JRebel all of them are bundled with Intellij IDEA. I am using Spring/Hibernate/Vaadin and have several beans defined (all definitions in XML files). Most bean definitions are served from a XML of a JAR. I also noticed that often on a 2nd try ALT-INSERT is fast as it used to be it. But after switching between several classes it becomes very slow again.

By the way I am using Intellij IDEA 10.0.3. I havent mentioned it yet.

Cheers,
Rene

0
Comment actions Permalink

Hi Dimitry,

does that one help better? I followd Alexander Ashitkin advise and used VisualVM.

Cheers,
Rene



Attachment(s):
threadDump.txt.zip
0
Comment actions Permalink

Hello Rene,

Looks like you've attached exactly the same archive again.

does that one help better? I followd /people/ashitkin.alex advise and
used VisualVM.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Sorry for that, I just updated my post. I can take some more thread dumps if it helps.

0

Please sign in to leave a comment.