-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feels like Zed consumes more memory than it used to #25259
Comments
Sad to hear this :s But unless we get some actionable information its hard to reproduce the issue. Can we get your settings.json? |
I also recently reported Ruby LSP memory leak #24900 they might be connected, might be a coincidence |
Thank you for the info, sad, but this is Zed or its plugins indeed it seems. I do not see anything instantly suspicious (some files are opened multiple times, such as DB which is odd..) But indeed, Ruby and Toml (#13190) extensions seem to leak memory — seems that both are used in the project? If you can share the project, it would be great so someone in the team can try it more. |
@ZombieHarvester Thanks for following up with more info. Do you ever see this high usage on an open-source ruby project? If so, that would give us a way to try and reproduce. |
I haven't worked on open source, sorry don't have any code to share. I'll keep observing. What is the normal memory usage for Zed? Today I removed the Toml extension and didn't use the built-in console, only two tabs of Elixir code and the assistant pane. Memory usage slowly went up to 900 MB and dropped down to 350 MB immediately after I closed the project. |
Summary
Zed takes 1+ gigs of RAM lately for a small Elixir project with 4 tabs open after a few hours. After fresh start it's about 500 mb. So might be a leak
Is it the expected behavior?
Zed Version and System Specs
Zed: v0.174.5 (Zed)
OS: macOS 12.7.6
Memory: 16 GiB
Architecture: x86_64
The text was updated successfully, but these errors were encountered: