Intellij 11.1 hanging after Maven phase
I use Maven within intellj to run all by maven phases (clean/install etc). I am experiencing extremely long freezes at the end of a maven phase. For example I will run the Install command and the build will start. In the console as Build Success comes up everything freezes. This can be for anything up to 5 minutes. This tends to happen after a couple of hours running and the only resolution is to restart Intellij which is a complete pain as I also run Weblogic within it. This then involves shutting that down and restarting which can add another 10/15 minutes to me twiddling my thumbs. I am on a Win 7 HP Mobile Workstation with lots of ram and SSD drive. Here's my vm options for completeness.
-Xms512m
-Xmx1024m
-XX:MaxPermSize=256m
-XX:ReservedCodeCacheSize=128m
-ea
-server
-XX:+UseConcMarkSweepGC
-XX:+UnlockExperimentalVMOptions
-XX:+DoEscapeAnalysis
-XX:+UseCompressedOops
Thread dumps attached from last freeze
Attachment(s):
threadDump-20120516-102656.txt.zip
threadDump-20120516-102651.txt.zip
threadDump-20120516-102645.txt.zip
threadDump-20120516-102640.txt.zip
Please sign in to leave a comment.
Which version of IDEA do you use?
Sorry - latest 11.1.1 build #iu-117.117
This build has some prfomance problem on windows, see http://youtrack.jetbrains.com/issue/IDEA-83695
Try to use last EAP: http://confluence.jetbrains.net/display/IDEADEV/IDEA+11.1+EAP
Thanks, have downloaded and will revert with outcome.
Nope, still the same issues after a few hours of running. Thread dmps attached.
Attachment(s):
threadDump-20120517-150936.txt.zip
threadDump-20120517-150942.txt.zip
threadDump-20120517-150947.txt.zip
threadDump-20120517-150952.txt.zip
threadDump-20120517-150957.txt.zip
I have created issue: IDEA-86228
This is still not fixed. I am one the 117.499 build which apparently includes the fix. Intellij is still hanging for a incredibly long time. Thread dumps attached
Attachment(s):
threadDump-20120614-092552.txt.zip
threadDump-20120614-092557.txt.zip
threadDump-20120614-092602.txt.zip
threadDump-20120614-092608.txt.zip
threadDump-20120614-092613.txt.zip
Indeed, the fix haven't been properly delivered to release branch, I'm really sorry.
Do you use the "Execute goals recursively" setting? If not, turn it off. The problem improved considerably when I did so.
Thanks for the advice. However the problem is not the time the Maven phase takes. The problem is Intellij freezing at the end of the phase.
That is the problem I was having. Maven would complete, but then IntelliJ would freeze up for quite a while afterwards - as much as 10 minutes.
I am also having this problem. At the end of a maven install, but sometimes after a compile. I have about 300 maven projects in total.
I think it might be an issue resolving DB connections or Maven repos.
Totally intermittent. Entire IDE hangs for 2-5 minutes.
2016.3 on MacOS
I gave IntelliJ and Maven 10 GB of RAM, too.
What should I be looking for in the thread dumps to figure this out?
Have the same issue with Ultimate 2018.1 Win x64
It's unlikely the same issue. Please report at https://youtrack.jetbrains.com/issues/IDEA if it's still reproducible in 2018.2 release. Make sure to attach the logs and the thread dumps to the issue (https://intellij-support.jetbrains.com/hc/articles/207241085, https://intellij-support.jetbrains.com/hc/articles/206544899).