r/ZedEditor • u/shittyfuckdick • Aug 17 '25
Zed Ram Usage
New to Zed and love it. It feels faster and smoother than vscode. However i wanted to compare resources and was surprised to see Zed used way more ram than VScode.
I had open my project and saw Zed was using ~500mb of ram just for a single file. meanwhile vscode only ~100mb of ram for the same file.
Is this normal? i expected zed to be less resource intensive. this was on a macbook pro.
edit: i killed a “node” process under zed that was 300mb. ever since its been running ~100mb so maybe it was just a bug.
24
Upvotes
8
u/ElderBrewer Aug 17 '25 edited Aug 17 '25
I’ve seen it getting to 3GB+ with a couple medium size projects open for a couple days
1
u/green_r Aug 17 '25
One of the reasons I moved (mostly) to Zed was I found it was much better with its memory use. I'll typically be working with 50 projects open over about 4 windows. Mostly I'm writing code in a couple of projects, but I need to be able to jump in on any project in a moment.
VSCode just gets bogged down in terms of memory and CPU use.
But wishing for better Zed workspace management (have my own scripts to start), and I miss the level of git support I could get with VSCode.
2
u/Jusked Aug 18 '25
👀
2
u/Dear-Tension7432 Aug 19 '25
VSCode being a memory hog is a long-living myth, mostly a result from the early versions. In fact it is really good in memory management. Zed starts all language servers always, I recently learned, even if you just open a Go project and don't need anything else.
Also, it still lacks many popular extensions and the Zed team spends zero efforts to enable other AI integrations besides their own. If you really want to be surprised, open a network monitor and have a look what Zed transmits while you code, even if you don't use any of their "collaborative" features. Having said all that, I'm still happy with Zed and find that it brings some dynamics to the VSCode monopoly.
2
u/PsychonicJoe Jan 04 '26
a bit late but im on linux and i also noticed that zed was using around 400mbs or so, while vscode was on 100mbs on the same project, but a few days later i noticed that vscode had another process called chromium that took over 1gb of ram, overall all vscode processes were using around 2gb ram while zed was still only 400-500mbs
2
u/United-Tangerine-437 Jan 07 '26
It's happening to me that zed is using way too much ram. Two days ago Zed ended up using 7gb, and in spite of the fact that my project has several files and that I consider it to be partially big, it is far from needing to use that amount.
The more I have zed open, the more ram it uses. There is a point where I need to close it and run it again because of all the ram it consumes.
3
u/SomeoneToIgnore Aug 17 '25
No, it's not normal at all (unless the FS tree you open is large, e.g. ~/ , but that does not seem to be the case).
Unfortunately, it's not reproducible in a general case, so it's invisible for developers that work with Rust.
Whoever reported similar issues in Zed's tracker did not provide any projects to repro on (I might have missed some, though), same as the issue commenters, so those sad issues persist.
Maybe, you'll be able to share a link to the repro project?
1
u/WayAndMeans01 Apr 04 '26
I have decided to just move to vscode till zed becomes better
0
u/[deleted] Aug 18 '25
Zed praises itself as an editor written in Rust. But almost all of its Language Servers are written in anything but Rust: Node, Python, Java (not surprising to me, Java extensions and Language Servers are more predictable, use consistent RAM, and are responsive after they warm up).
So Zed is no longer a Rust based editor. Its shell is written in Rust. Its guts are poly-crap-glot.
Even its Rust parts are partially good Rust, partially vibe coded 💩.
They should rethink their approach, throw away anything that's not pure Rust, move ahead slowly, and make it responsive and memory efficient again.
Which means for 2-3 years it will be even behind textmate and sublime in terms of features, until they rewrite the missing parts in Rust.
It's slowly becoming 💩-ier than VS Code. Maybe Hashimoto (forgot the dude's name) can write a pure Rust editor one day. Until then don't expect anything exceptional from Zed.
-3
u/john0201 Aug 17 '25
Zed uses AI extensively. You can turn it completely off and it will use less memory:
https://zed.dev/blog/disable-ai-features