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
Please sign in to leave a comment.
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.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
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.
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
Hello Rene,
Unfortunately the attached thread dump isn't related to Alt-Ins, but rather
shows something that happened during initial indexing.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
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
Hello Rene,
Do you have any third-party plugins installed? Are you using Spring or any
such frameworks?
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
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
Hi Dimitry,
does that one help better? I followd Alexander Ashitkin advise and used VisualVM.
Cheers,
Rene
Attachment(s):
threadDump.txt.zip
Hello Rene,
Looks like you've attached exactly the same archive again.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Sorry for that, I just updated my post. I can take some more thread dumps if it helps.