Slow Startup of IntellJ 2021.1.1
Answered
With the most recent version of IntelliJ I experience slow startup - especially with the "code with me", "space" and "Android" plugin. Why do these plugins even initialize (blocking) if my current project doesn't use them? I now disabled some plugins but that means they won't work when I need them in another project, right?
Please sign in to leave a comment.
Hello,
Probably you experience this issue https://youtrack.jetbrains.com/issue/IDEA-266474, which is fixed in the IDEA 2021.1.2.
Please try using the latest preview build from https://confluence.jetbrains.com/display/IDEADEV/IDEA+2021.1+latest+builds .
If the issue remains please collect diagnostic data according to https://intellij-support.jetbrains.com/hc/en-us/articles/207241235 and upload it at https://uploads.jetbrains.com (do not forget to specify the UploadID)
Hi,
I just upgraded to 2021.1.2 RC and the startup time is still high (on a AMD Ryzen 9 3900X 12-Core Processor with 64GB RAM)
It is a multi-module project, but it uses Gradle and not Maven. How comes that Maven takes 28s?
Strange after installing the performance testing plugin the next restart was fast:
Now I have an empty "snapshots" directory in my home directory (which was linked by the performance log popup in IntelliJ) and a "Snapshots" directory containing a "Main-2021-06-01-shutdown.snapshot". Shouldn't I have a startup snapshot?
> Now I have an empty "snapshots" directory in my home directory (which was linked by the performance log popup in IntelliJ) and a "Snapshots" directory containing a "Main-2021-06-01-shutdown.snapshot". Shouldn't I have a startup snapshot?
Unfortunately, it is a known bug https://youtrack.jetbrains.com/issue/IDEA-270460 .
Do you use antivirus? To improve startup time, you can disable the antivirus or exclude IDE installation and plugins folders from the antivirus monitor (https://intellij-support.jetbrains.com/hc/articles/206544519).
See also these documents as a reference:
https://intellij-support.jetbrains.com/hc/en-us/articles/360005028939-Slow-startup-on-Windows-splash-screen-appears-in-more-than-20-seconds
https://intellij-support.jetbrains.com/hc/en-us/articles/360006298560-Antivirus-Impact-on-Build-Speed .
I'm running IntellJ in snap on Ubuntu 20.04.1. No scanners active AFAIK.
In this case please try running (Help | Diagnostic Tool | Profile Slow Startup) in 2021.1.1 and attach a snapshot along with a log folder compressed. (Help | Collect Logs and Diagnostic Data)
Make sure that you stopped the profiling after the IDE is fully loaded. (Help | Diagnostic Tools | Stop CPU Usage Profiling)
It seems that at least with the latest update the problem disappeared. So there's no sense to investigate further.
Thank you for your support!