IntelliJ frequently hangs on MacOS
Answered
Using IntelliJ on MacOS Sierra, I frequenty encounter short hickups of the IDE. Whenever I switch to a browser or other application and come back to IntelliJ, the IDE hangs for a few seconds. The activity monitor shows, that the CPU usage goes up to about 300%. After a few seconds, I can continue working, but it is extremely annoying.
Any idea what might go wrong here?
Thanks,
Heiner
Please sign in to leave a comment.
Please submit a performance problem at https://youtrack.jetbrains.com/issues/IDEA and attach the following:
1. Logs directory zipped (including the automatic thread dumps) https://intellij-support.jetbrains.com/hc/articles/207241085.
2. CPU snapshot: https://intellij-support.jetbrains.com/hc/articles/207241235.
I notice this too. Something in 2017 really changed around indexing and it's made it difficult to use IntelliJ. The 2016 performance was much better. Hmph. Do you happen to use a multi module maven project?
Didn't had the time to collect the info, but I'll try during the next days.
The project is a multi-module project, but not maven. I'm developing and ionic / cordova / angular project. Sure, the platforms folder, where everything gets build, is excluded. However, the IDE very frequently thinks it has to re-index everything. I can't see any reason to do so. I just switch to another app and come back to the IDE.
Check the discussion at https://youtrack.jetbrains.com/issue/IDEA-172914, could be related.
I experience the exact same problem. My project happens to be a (tiny) TypeScript based project.
Not sure the gradle issue you linked to is really the same issue.
Experience this issue a lot after upgrade to 2019.3
Most of such issues are different. Please report at https://youtrack.jetbrains.com/newIssue?project=IDEA with the thread dumps and the logs attached. See https://intellij-support.jetbrains.com/hc/articles/206544899 and https://intellij-support.jetbrains.com/hc/articles/207241085.