Intellij 11.1 hanging after Maven phase

Answered

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
0
14 comments
Avatar
Sergey Evdokimov

Which version of IDEA do you use?

0

Sorry - latest 11.1.1 build #iu-117.117

0
Avatar
Sergey Evdokimov

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

0

Thanks, have downloaded and will revert with outcome.

0
Avatar
Sergey Evdokimov

I have created issue: IDEA-86228

0

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
0

Indeed, the fix haven't been properly delivered to release branch, I'm really sorry.

0

Do you use the "Execute goals recursively" setting? If not, turn it off. The problem improved considerably when I did so.

0

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.

0

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.

0

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?

0

Have the same issue with Ultimate 2018.1 Win x64

0

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).

0

Please sign in to leave a comment.