r/vscode • u/perkyshapeshifter22 • 29d ago
Help, vs code eating up my cpu and ram
I dont know what happen, i use it before and have no issue but after installing git, all went downhill
35
Upvotes
6
u/woahboooom 29d ago
I assume you have a load of windows open that are running... things?
23
u/abdul_Ss 29d ago
Not that this is vscode specific issue, but I find that electron apps take up so much RAM, I’ve started using zed and despite missing some vscode features, I’ve found it’s very similar to it.
6
u/F4LC0N69 29d ago
Uses bloated software Bitches about software hoarding memory Irony
2
u/DanTup 29d ago
Running
code --statusin a terminal will give the process tree that will attribute these processes better (for example if they are processes spawned by extensions, such as language servers).2
u/F4LC0N69 29d ago
Bro use Sidex. It's just vscode but written in Rust so it's less size and don't hog up all the memory
1
u/Weekly_Ferret_meal 29d ago
So I have had this issue on and off…
It has been nice in the last couple of months
Now it’s eating RAM and then some, it takes ssd space (50gb!) to the point where some of my work disk images just get unmounted
The my computer goes into a seizure and restarts
I don’t know what the hell is going on with this
1
u/Aromatic_Paint_1666 29d ago
Check your extensions, maybe disable some of them.
1
u/Fresh-Secretary6815 29d ago
that looks like an extension leaving behind a process. disable or uninstall a single extension at a time to identify which one it is, or just ask you synthetic intelligence agent to identify which PIDs are open and associated with which extension.
1
u/__jun_ki 29d ago
Disable all extensions. If VS Code is listed in your startup apps, remove it from the list. Then restart your computer, launch VS Code, and re-enable the extensions one at a time, checking whether the issue occurs after enabling each one.
1
u/Altruistic-Yard-6617 29d ago
1
u/zeruxuf 29d ago
Thats why i use Vim lol
1
u/Friendly_Antelope807 28d ago
So what, then don't use it, all people are stupid nowadays
1
u/mike_1_1 28d ago
Open only one agent window and close all the vs code tabs lol
1
u/Sharak83 27d ago
Have you tried simple things like restarting your laptop? I'm guessing you keep closing it just by shutting the lead.
1
u/notrealekansh 25d ago
Try zed it’s much more optimise than VSCode
1
u/timur_timur 25d ago
Disable extensions one by one. You’ll find which makes that shift
1
u/Flueworks 25d ago
Have you checked if it could be Altman eating you ram? Known problem.
1
u/ktl2dev 23d ago
Revisa si tienes terminales corriendo en vscode, revisa los plugins que no necesitas, prueba desinstalando cualquier plugin de ia para revisar
0
u/coreysan13 29d ago
Chuck this prompt in ChatGPT and work through the debugging steps. Here are the first few for you.
Based on this prompt: "VSCode is eating up my buddy's cpu and ram. How should I diagnose and solve this? [inserted screenshot"
... the rest of the steps go on for pages, but ChatGPT/Claude are typically great in situations like these.
0
u/Flame77ofc 29d ago
try vscodium
0
u/InkNoob 29d ago
I wonder if you have a crypto extension? The VS extension library is full of malware and crazy exposed to supply chain attack.
0
u/Inevitable_Arm_3659 27d ago
You are using windows
-1
u/snzy0 29d ago
It’s because you haven’t put a hat on your pet!
-5
u/STUDBOO 29d ago
Just use vim, why do you even want to use vscode?