zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
45.67k stars 2.51k forks source link

The node process using a lot of memory while working on a vue project #4405

Open freedomlang opened 10 months ago

freedomlang commented 10 months ago

Check for existing issues

Describe the bug / provide steps to reproduce it

  1. Open a vue project by zed
  2. Check Activity monitor and find the node process started by zed

Environment

Zed: v0.109.1 (stable) OS: macOS 13.4.1 Memory: 16 GiB Architecture: aarch64

If applicable, add mockups / screenshots to help explain present your vision of the feature

image

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

If you only need the most recent lines, you can run the zed: open log command palette action to see the last 1000.

No response

JosephTLyons commented 10 months ago

Hey @freedomlang, what is the memory consumption level of the node process (for the same project) when using VS Code?

freedomlang commented 10 months ago

Hey @freedomlang, what is the memory consumption level of the node process (for the same project) when using VS Code?

Looks like VS Code's volar extension just use about 1.4GB image image

rubnogueira commented 6 months ago

@JosephTLyons I'm having the same issue (not a vue project).

image

I'm assuming that this "Code Helper (Plugin)" is doing the same as the "node" zed process. Because when I go to "Open Files and Ports," I can see all my .ts project files there.