Since upgrading to the latest VS Code (1.53.2) on my CentOS 7 host recently (64-bit x86), code chews up 100% of a core, indefinitely, every time I ran it (no extension installed).
When I downgraded code to 1.52.0 everything was fine again, CPU utilisation was normal; but when I upgraded again to 1.53.2 (or 1.53.0), the same 100% CPU utilisation problem reemerged.
See the problem in action here: https://www.youtube.com/watch?v=kicUYrwSY-A
Sounds like either something was broken in code 1.53.X, or could it be CentOS, now that Redhat is deprecating it. Hope someone has a solution, other than downgrading Code that is.
We have a working solution on our side with:
Instead of installing it with yum package manager, we install it through snapcraft.io
First, install Snap on CentOS: https://snapcraft.io/docs/installing-snap-on-centos
sudo yum install epel-release -y
sudo yum install snapd -y
sudo systemctl enable --now snapd.socket
sudo ln -s /var/lib/snapd/snap /snap
And then, install Visual Studio Code through Snap:
sudo snap install code --classic
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With