On Windows 10, Eclipse 2024-03, Sonarlint 10.1.0.81817 with multiple java project, connected on Sonarqube 9.9.3.79811.
A lot of disk space is used by the plugin:
directory worskspace/.sonarlint : 32,5 Go
directory worskapce/.sonarlint/default : 21,2 Go
directory worskapce/.sonarlint/storage: 11,2 Go
I think it started with version 10 of the plugin.
I don’t know how much it took before this version, but it was negligible.
Is this normal?
Could you please provide a bit more information about the folder structure inside of worskapce/.sonarlint/storage and worskapce/.sonarlint/default and what is stored inside?
From version 10, the Eclipse SonarLint plugin starts a separate process for a library providing a backend implementation. I suspect the process might not be terminating cleanly, which may cause some leftover files to be present.
Connected to SonarQube 9.9.4 (not all projects are connected to the server)
Whenever I restart Eclipse, or switch workspaces, the folder .sonarlint/default in my workspaces starts to grow slowly, adding approx. 600 MB over a few minutes every time.
So, for example, after 100 restarts, it contains 60 GB. This can take only a few days, depending on how frequently I switch workspaces.
I usually delete the complete .sonarlint directory when it has become too large.