Please provide
- Operating system: Windows 11
- Visual Studio version: Visual Studio 2022 Enterprise Version 17.14.21 (November 2025)
- SonarQube for Visual Studio plugin version: Sonar Qube for Visual Studio 9.2.0.15907
- Programming language you’re coding in: Should be C#
- Is connected mode used:
- SonarQube Cloud, SonarQube Server, or SonarQube Community Build? (if one of the latter two, which version?): Not sure, would need to ask
And a thorough description of the problem / question:
One of our developers sent me following report regarding your VS IDE extension and asked me to forward it:
–
The main issues I have with the Sonar Qube for Visual Studio extension is that:
- it disables itself on a regular basis and you won’t even know that it is no longer working.
- it requires up to a peak of 1.5 GB of memory with only one open solution
All memory measurements were performed by checking the memory consumption of Open JDK Platform binaries (no other java tools running).
standard consumption: 400-700 MB per open solution
open single (very large) file with 8000 lines: consumption up to 800-900 MB
open another medium sized file: + 100 MB
open another small file: + 50 MB
close all files: no change in consumed memory
wait some minutes: still no change in consumed memory
You can easily see how this can amount to 1500 MB for a single solution after some hours.
Project is a legacy project with 565k Lines of Code and a Maintainability rating of A.
Project is composed of three separate solutions. Opening those three with a single small open file 30-120 lines takes 550 MB + 430 MB + 400 MB.
Note that this is comparable to what Resharper is using, so it might not be that critical. (Resharper might even use more memory, but arguably reports many more issues)
The critical point is that the memory is never freed – as far as I can tell.
–
Could you please have a look at this?