-
Notifications
You must be signed in to change notification settings - Fork 676
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Higher ambient resource use after upgrade to 1.24.1 #5085
Comments
cc @JoeRobich Perhaps related, hope it helps in debugging: I have endless streams of these errors:
I used to have the same in older versions too, but in this new version the problem got much worse. Also, hovering / Intellisense, autocompletion/ etc. are VERY slow, sometimes they do nothing. If I observe the log window, I see the above errors. Sometimes I need to CTRL+. multiple times for the autotcomplete to kick in. Hope that helps diagnose the problem? Any more info needed please let me know? |
On second thought, I'm not sure the two are related. As I wrote in the original post, vscode + o# consume resources even when I'm working in a different window - if vscode is running, it's doing something heavy. It could be a naughty extension, but I didn't have this issue in the previous version. |
I have the same problem that you. It's very slow after upgrade. If I disable the extension works fine |
|
Please post the log anyway, it would show which variant of OmniSharp you are running (there are three different ones). Have you tried the .NET 6 build of OmniSharp, which is a lot more stable and faster? The last build of OmniSharp has two changes related to analyzer processing https://github.com/OmniSharp/omnisharp-roslyn/wiki/Configuration-Options#roslyn-extensions-options
These have been found to be drastically improving performance, however it is possible that in certain cases it causes problems. You can restore the old analyzer behavior by setting the following in
The linked wiki page describes where to put this |
Thanks for all the advice, I read in that PR that I didn't actually try the prerelease with So once it's released I'll try again and give feedback. I'm using the previous version until then. |
Environment data
dotnet --info
output: 6.0.102VS Code version: 1.64.2
C# Extension version: 1.24.1
linux
OmniSharp log
nothing interesting
Steps to reproduce
start vscode
Expected behavior
Load all projects, then keep quiet.
Actual behavior
After upgrading to v1.24.1, vscode loads all projects as usual, and much faster because it seems to be doing it on multiple threads.
But after loading, code/omnisharp doesn't stop working, and the machine's fan never shuts up (it slows down but I hear it).
htop
shows thatcode
anddotnet ... ms-dotnettools.csharp
processes are always doing something, even if I'm not using vscode.I have no idea how to diagnose this, or whether "it's just me". I do know that it was not light on resources before, but it wasn't heavy either. Now it's quite heavy.
htop
shows activity all the time. Nothing has changed other than the upgrade to 1.24.1.Has anyone else experienced this, and do you have any tips to share? If "it's just me" then please close the issue, but maybe if others document their experiences below we can discover if there's a problem?
The text was updated successfully, but these errors were encountered: