question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

My System Get Very Slow After updating to last version of VS Code

See original GitHub issue

Issue Type: Bug

I am not sure what is the source of this performance difficulties but after updating VS Code and running the dotnet run my system get very slow or even locked the screen totally. I am using Omnisharp Extension for C# and also .NET SDK 6.0.200 too which is responsible for executing the dotnet run command in my ubuntu.

Extension version: 1.24.1 VS Code version: Code 1.65.0 (b5205cc8eb4fbaa726835538cd82372cc0222d43, 2022-03-02T11:12:36.248Z) OS version: Linux x64 5.13.0-30-generic Restricted Mode: No

System Info
Item Value
CPUs Intel® Core™ i3 CPU M 370 @ 2.40GHz (4 x 1599)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: disabled_off
opengl: enabled_on
rasterization: disabled_software
skia_renderer: enabled_on
video_decode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) 2, 2, 2
Memory (System) 3.64GB (0.11GB free)
Process Argv –unity-launch --crash-reporter-id 020e1364-b40c-422c-98be-c370c1a3b40a
Screen Reader no
VM 0%
DESKTOP_SESSION ubuntu
XDG_CURRENT_DESKTOP Unity
XDG_SESSION_DESKTOP ubuntu
XDG_SESSION_TYPE x11
A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492cf:30256860
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551:30345470
pythonptprofiler:30281270
vsdfh931:30280409
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593:30376534
testflightcf:30433671
vsc1dst:30438360
pythonvs932:30410667
wslgetstartedc:30433508
vsclayoutctrt:30448491
vsrem710:30416614
dsvsc009:30440023
pythonvsnew555cf:30442237
vsbas813:30436447
vscscmwlcmc:30438804
vscgsvidc:30447482
helix:30440343

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:14

github_iconTop GitHub Comments

1reaction
abdollahkahnecommented, Apr 10, 2022

@lonix1 Today I encounter the problem again. I just copy a large Div from Google results with lots of css style and html elements inside and then save it. It shows Formatting before save for a while and I close the message. Also even after deleting it the message that shows again the message since it can not completed the last format and save (it shows them on index.razor__virtual.html yet) .After closing the code and re-opening it, the problem was fixed. I also find out that there is a setting in visual code regarding formatter which makes formatting specific to modification only which may be help your case (The default is on file). image

1reaction
abdollahkahnecommented, Apr 8, 2022

What did you do to fix it?

I am not sure my problem is same as other but I propose some general tips:

  • The first thing I should mention here is that I am using Visual Code Debian version and not the snap one which install automatically if we install it using dotnet apt install code (run command snap list to see if code is snap or debian).
  • I decrease size of my workspace. It included more than 30 .Net project with lots of assets. I try to create the workspace specific to my current solutions/projects.
  • I also have trouble with project picker in omnisharp in the same time. I tries to manually install the vsix of a beta version (I do not remember what was the version I think it was 1.23.18 Beta Link ) May be my projects are not big enough to see errors again. It would be great to test the project that have problem for others.
Read more comments on GitHub >

github_iconTop Results From Across the Web

Here's How to Make VSCode Faster
To check if you're running on the latest version of VS Code, do the following: On Mac, go to Code > About Visual...
Read more >
vs code becomes heavy and response is too slow after each ...
This is especially noticeable when you need to quickly edit something in a single file. It takes ~10+ seconds for the editor to...
Read more >
Improve performance if Visual Studio is slow | Microsoft Learn
Learn how to improve Visual Studio performance if you find that it's running slowly.
Read more >
Why Visual Studio Code slows down my Laptop?
Mine VS code was very slow when I opened huge project with large amount of files. So your performance might depend on what...
Read more >
Is Your VS Code Extension Slow? Here's How to Speed it Up!
One possible cause is the number of files or the size of the extension. Some extensions have so much functionality in them that...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found