Open dimeeentor opened 2 months ago
Same here, I think. The editor is not open, and that processes stucked. I opened and closed the editor a couple of times.
Now I use node for a couple of hours:
I just saw consumption of ~1.4GB, well above the typical. Quit the application and reopened a single project, back up to 667MB.
macOS 14.6.1 Zed 0.148.1 623a46377709053d2dd70113597d9b6cd6f3ec8b
Also a thing that I've noticed on a fresh start RAM usage of the app is around 120MBs after couple of hours I got around 700MBs
A few days ago I have left my Zed open for a few hours while my MacBook was in lock screen and when I came back, Zed was consuming 32GB of ram (my MacBook only has 8GB so you can imagine what happened). I noticed that it starts consuming more and more RAM and it comes from node process most of the time. Sometimes I have to reload Zed to keep RAM usage low.
Just opened Zed... Something is not right here. If I close the editor then the node processes will disappear. These are clearly spinned up by Zed.
I am experiencing the same issue when opening a Node.js app with around ~8k LOC of Typescript (The size of the folder is relatively large at 1GB due to dependencies).
I am experiencing the same issues using VSCode (which is why I also linked this issue in the issue i opened on their Github repo) - since afaik Zed uses vtsls which if i understand correctly is just a wrapper around VS Code's implementation of the Typescript LSP, I assume the real problem is somwhere in the LSP itself.
In my case, I am basically stuck in an infinite Initializing JS/TS language features
loading loop
This happens with me when i use the phpcs
language server. I think the language server get stuck and zed is waiting forever for it to finish.
I have started recieving this also after a recent update (0.152).
Zed is stuck in a loop on Initializing JS/TS language features
and in my activity monitor I see node processes come and go like:
I have tried to restart Zed and my computer. This didn't make any difference.
I have tried to restart Zed and my computer. This didn't make any difference.
I now removed ~/Library/Application\ Support/Zed
and restarted Zed. This solved the issue for me.
I have tried to restart Zed and my computer. This didn't make any difference.
I now removed
~/Library/Application\ Support/Zed
and restarted Zed. This solved the issue for me.
I tried doing the same, unfortunately, no change.
I tried doing the same, unfortunately, no change.
It worked for a while for me, but now I have the same issue again. 😢
Check for existing issues
Describe the bug / provide steps to reproduce it
I would that say this is a clarification if the behaviour is intended to work like this, rather than a bug report, anyway:
Opening the app with my Next.js project I see this in the Activity Monitor:
No local things are running, I've just opened the app and two node processes already taking 2.5 GB of RAM. Also, if I'm not mistaken Zed installs its own node in the system even if I have one already?
So, the question: is Zed preloading node on the app launch or there some other reasons?
Environment
Zed: v0.149.1 (Zed Preview) OS: macOS 14.6.1 Memory: 16 GiB Architecture: aarch64
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
Zed.log