How can I diagnose performance issues with intelli...
# intellij
j
How can I diagnose performance issues with intellij? I've got a 7th gen i7 and 32gb ram and a pretty fast ssd, but I often find the ide very slow to respond in my android project. I've tried increasing the xmx memory to 5g and the ide memory to 5g too as well as turning off almost all plugins. None of these changes seem to have made much of an impact
Also I'm running manjaro i3, so a pretty lightweight desktop environment.
👍 2
some specific performance issues I notice are: - several second delays in registering keypresses - several second delays in autocomplete popup - several second delays before I can alt+enter for import
Also some info about the project, it has around 17 modules, some of which use kotlin gradle dsl, and there are 100+ dependencies. Using kotlin 1.3.40, gradle 5.4.1, android gradle plugin 3.4.1
r
Does the activity monitor show high "JIT Compiler" CPU usage when you type?
If yes, then try the suggested workaround @ https://youtrack.jetbrains.com/issue/IDEA-207243, which helped me a lot.
However, even with that workaround, I do find kotlin editing to be quite slow. JB always suggests submitting a performance snapshot to http://kotl.in/issue as per https://intellij-support.jetbrains.com/hc/en-us/articles/207241235-Reporting-performance-problems.