Hello @benallard, thank you for reaching out to us about this.
We take this issue very seriously, as one of our priorities is not to get in the way of developers.
Could you please provide a thread dump of your IDE when such an issue happens? You can follow our documentation here. There should be an automatic dump generated when the IDE freezes, if not, you can generate one with the following commands:
jps
jstack <pid>
It would also help if you could provide the thread dump of the SonarLintServerCli java process.
Could you also tell us about your IDE version? We are aware of a JetBrains issue in 2024.2, which led to SonarLint freezing sometimes.
I’m using IntelliJ 2024.2.1 (as I already reported hiereabove). So it could well be that we’re talking about the same issue.
I had uploaded a diagnostic report in my intelliJ Ticket, there are a bunch of traces there, are there dump of the Sonar process also included in there ? I attached the very last freeze directory from there. threadDumps-freeze-20240906-092235-IU-242.21829.142.zip (280.6 KB)
I had uploaded a diagnostic report in my intelliJ Ticket
I don’t have access to data uploaded there as it is strictly for JetBrains support.
I’m using IntelliJ 2024.2.1 (as I already reported hiereabove)
Thank you, I effectively missed this mention!
I’m investigating the case, and I will come back to you with a custom build of SonarLint that might provide improvements. If you can reproduce the freezes consistently every day, that will be very helpful to us.
Indeed, i succeeded in updating the plugin with your custom build (wasn’t that easy transferring the big file to my computer due to firm policies and such, but that shouldn’t be your concern), and till now, I didn’t experienced any issues. Is there a way i could confirmed the previous problem occurred, and your fix prevented it?
Thank you for your update. We will likely release a new version in the next few days, which will include this improvement and some others.
We don’t have a way of reproducing the issue; it’s not even clear why it is happening as it is only related to the latest version of the IDE, probably due to some changes on the IDE.
Hello @benallard, for your information, we have just released SonarLint version 10.10, which includes extensive refactoring to prevent freezes. We also optimized the overall performance and memory usage. Do not hesitate to get back to us if you still face any problems.