Memory leak causing computer to crash
Summary
Description
Zed keeps consuming more and more RAM until eventually all system RAM is exhausted resulting in the computer to crash after a few days.
Steps to trigger the problem:
- Not sure besides just leaving it open
Actual Behavior: Consuming all system RAM Expected Behavior: Not consuming all system RAM
https://github.com/user-attachments/assets/c8692794-997c-4561-a9ab-e5111ba1ec77
Zed Version and System Specs
Zed Version and System Specs Zed: v0.187.8 (Zed) OS: Linux Wayland bluefin 41 Memory: 62.6 GiB Architecture: x86_64 GPU: NVIDIA GeForce GTX 1070 Ti || NVIDIA || 570.144
If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.
2025-05-26T14:03:33-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:33-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:33-07:00 WARN [project::lsp_store] skipping diagnostics update, no worktree found for path "/var/home/owner/sync/Sync/python/discordstar.py" 2025-05-26T14:03:34-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:34-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:34-07:00 WARN [project::lsp_store] skipping diagnostics update, no worktree found for path "/var/home/owner/sync/Sync/python/huggingface.py" 2025-05-26T14:03:35-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:35-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:35-07:00 WARN [project::lsp_store] skipping diagnostics update, no worktree found for path "/var/home/owner/sync/Sync/python/image_upload.py" 2025-05-26T14:03:36-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:36-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:36-07:00 WARN [project::lsp_store] skipping diagnostics update, no worktree found for path "/var/home/owner/sync/Sync/python/tts.py" 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [gpui] window not found 2025-05-26T14:03:37-07:00 ERROR [gpui] window not found 2025-05-26T14:03:37-07:00 ERROR [gpui] window not found 2025-05-26T14:03:37-07:00 ERROR [gpui] window not found 2025-05-26T14:03:37-07:00 ERROR [gpui] window not found 2025-05-26T14:03:37-07:00 ERROR [gpui] window not found 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:37-07:00 ERROR [lsp] Server reset connection for a request "shutdown" id 2 2025-05-26T14:03:42-07:00 INFO [zed] ========== starting zed ========== 2025-05-26T14:03:42-07:00 INFO [blade_graphics::hal::init] Presentation support: "VK_KHR_wayland_surface" 2025-05-26T14:03:42-07:00 INFO [blade_graphics::hal::init] Presentation support: "VK_KHR_xcb_surface" 2025-05-26T14:03:42-07:00 INFO [blade_graphics::hal::init] Presentation support: "VK_KHR_xlib_surface" 2025-05-26T14:03:42-07:00 INFO [blade_graphics::hal::init] Enabling Vulkan Portability 2025-05-26T14:03:42-07:00 INFO [blade_graphics::hal::init] Enabling color space support 2025-05-26T14:03:42-07:00 INFO [blade_graphics::hal::init] Adapter: "NVIDIA GeForce GTX 1070 Ti" 2025-05-26T14:03:42-07:00 INFO [blade_graphics::hal::init] No ray tracing extensions are supported 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] perform; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] authenticate; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_command; command=Auth(Some(External), Some([49, 48, 48, 48])) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[Auth(Some(External), Some([49, 48, 48, 48]))] extra_bytes=None 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_command; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] send_secondary_commands; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[NegotiateUnixFD, Begin] extra_bytes=Some([108, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 109, 0, 0, 0, 1, 1, 111, 0, 21, 0, 0, 0, 47, 111, 114, 103, 47, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 47, 68, 66, 117, 115, 0, 0, 0, 2, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0, 3, 1, 115, 0, 5, 0, 0, 0, 72, 101, 108, 108, 111, 0, 0, 0, 6, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0]) 2025-05-26T14:03:42-07:00 INFO [db] Opening main db 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] receive_secondary_responses; expected_n_responses=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::proxy] new; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] socket reader; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::proxy] {}; task_name="org.freedesktop.portal.Settings proxy caching" 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [db] Opening main db 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::proxy] keep_updated; 2025-05-26T14:03:42-07:00 INFO [zed] Using git binary path: None 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [prompt_store::prompts] No prompt template overrides directory found at /var/home/owner/.var/app/dev.zed.Zed/data/zed/prompt_overrides. Using built-in prompts. 2025-05-26T14:03:42-07:00 INFO [assistant_tools::terminal_tool] agent selected bash for terminal tool 2025-05-26T14:03:42-07:00 INFO [extension_host] extensions updated. loading 4, reloading 0, unloading 0 2025-05-26T14:03:42-07:00 INFO [gpui::platform::linux::platform] activate is not implemented on Linux, ignoring the call 2025-05-26T14:03:42-07:00 INFO [db] Opening main db 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] perform; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] authenticate; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_command; command=Auth(Some(External), Some([49, 48, 48, 48])) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[Auth(Some(External), Some([49, 48, 48, 48]))] extra_bytes=None 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_command; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] send_secondary_commands; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[NegotiateUnixFD, Begin] extra_bytes=Some([108, 1, 0, 1, 0, 0, 0, 0, 15, 0, 0, 0, 109, 0, 0, 0, 1, 1, 111, 0, 21, 0, 0, 0, 47, 111, 114, 103, 47, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 47, 68, 66, 117, 115, 0, 0, 0, 2, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0, 3, 1, 115, 0, 5, 0, 0, 0, 72, 101, 108, 108, 111, 0, 0, 0, 6, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0]) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] receive_secondary_responses; expected_n_responses=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] socket reader; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [blade_graphics::hal::surface] Using surface present mode MAILBOX 2025-05-26T14:03:42-07:00 INFO [blade_graphics::hal::descriptor] Creating a descriptor pool for at most 16 sets 2025-05-26T14:03:42-07:00 INFO [blade_graphics::hal::descriptor] Creating a descriptor pool for at most 16 sets 2025-05-26T14:03:42-07:00 INFO [gpui::platform::blade::blade_renderer] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied } 2025-05-26T14:03:42-07:00 INFO [zed::zed] Using GPU: GpuSpecs { is_software_emulated: false, device_name: "NVIDIA GeForce GTX 1070 Ti", driver_name: "NVIDIA", driver_info: "570.144" } 2025-05-26T14:03:42-07:00 INFO [db] Opening main db 2025-05-26T14:03:42-07:00 INFO [db] Opening main db 2025-05-26T14:03:42-07:00 INFO [db] Opening main db 2025-05-26T14:03:42-07:00 INFO [blade_graphics::hal::surface] Using surface present mode MAILBOX 2025-05-26T14:03:42-07:00 INFO [blade_graphics::hal::surface] Retaining current format: Bgra8UnormSrgb 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] perform; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] authenticate; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_command; command=Auth(Some(External), Some([49, 48, 48, 48])) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[Auth(Some(External), Some([49, 48, 48, 48]))] extra_bytes=None 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_command; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] send_secondary_commands; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[NegotiateUnixFD, Begin] extra_bytes=Some([108, 1, 0, 1, 0, 0, 0, 0, 20, 0, 0, 0, 109, 0, 0, 0, 1, 1, 111, 0, 21, 0, 0, 0, 47, 111, 114, 103, 47, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 47, 68, 66, 117, 115, 0, 0, 0, 2, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0, 3, 1, 115, 0, 5, 0, 0, 0, 72, 101, 108, 108, 111, 0, 0, 0, 6, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0]) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] perform; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] authenticate; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_command; command=Auth(Some(External), Some([49, 48, 48, 48])) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] perform; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] perform; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] authenticate; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_command; command=Auth(Some(External), Some([49, 48, 48, 48])) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[Auth(Some(External), Some([49, 48, 48, 48]))] extra_bytes=None 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_command; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] send_secondary_commands; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[NegotiateUnixFD, Begin] extra_bytes=Some([108, 1, 0, 1, 0, 0, 0, 0, 21, 0, 0, 0, 109, 0, 0, 0, 1, 1, 111, 0, 21, 0, 0, 0, 47, 111, 114, 103, 47, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 47, 68, 66, 117, 115, 0, 0, 0, 2, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0, 3, 1, 115, 0, 5, 0, 0, 0, 72, 101, 108, 108, 111, 0, 0, 0, 6, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0]) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] receive_secondary_responses; expected_n_responses=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] authenticate; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_command; command=Auth(Some(External), Some([49, 48, 48, 48])) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[Auth(Some(External), Some([49, 48, 48, 48]))] extra_bytes=None 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_command; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] send_secondary_commands; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[NegotiateUnixFD, Begin] extra_bytes=Some([108, 1, 0, 1, 0, 0, 0, 0, 22, 0, 0, 0, 109, 0, 0, 0, 1, 1, 111, 0, 21, 0, 0, 0, 47, 111, 114, 103, 47, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 47, 68, 66, 117, 115, 0, 0, 0, 2, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0, 3, 1, 115, 0, 5, 0, 0, 0, 72, 101, 108, 108, 111, 0, 0, 0, 6, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0]) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] receive_secondary_responses; expected_n_responses=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] perform; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[Auth(Some(External), Some([49, 48, 48, 48]))] extra_bytes=None 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_command; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] perform; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] authenticate; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_command; command=Auth(Some(External), Some([49, 48, 48, 48])) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[Auth(Some(External), Some([49, 48, 48, 48]))] extra_bytes=None 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_command; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] authenticate; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_command; command=Auth(Some(External), Some([49, 48, 48, 48])) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[Auth(Some(External), Some([49, 48, 48, 48]))] extra_bytes=None 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_command; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] socket reader; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] socket reader; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 ERROR [agent] no thread found with ID: ThreadId("806fa114-c8c3-4aae-a177-9c40332b2da0") 2025-05-26T14:03:42-07:00 ERROR [agent] no thread found with ID: ThreadId("d4647134-ef53-457d-9d3b-4c4ba6d443e0") 2025-05-26T14:03:42-07:00 ERROR [agent] no thread found with ID: ThreadId("f213d4b3-6bd7-43c3-a952-c24b77a7a330") 2025-05-26T14:03:42-07:00 ERROR [agent] no thread found with ID: ThreadId("5f85b5c9-2e5c-4571-a800-72725cc96c9b") 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] receive_secondary_responses; expected_n_responses=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] send_secondary_commands; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[NegotiateUnixFD, Begin] extra_bytes=Some([108, 1, 0, 1, 0, 0, 0, 0, 25, 0, 0, 0, 109, 0, 0, 0, 1, 1, 111, 0, 21, 0, 0, 0, 47, 111, 114, 103, 47, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 47, 68, 66, 117, 115, 0, 0, 0, 2, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0, 3, 1, 115, 0, 5, 0, 0, 0, 72, 101, 108, 108, 111, 0, 0, 0, 6, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0]) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] socket reader; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] receive_secondary_responses; expected_n_responses=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] socket reader; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] send_secondary_commands; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[NegotiateUnixFD, Begin] extra_bytes=Some([108, 1, 0, 1, 0, 0, 0, 0, 27, 0, 0, 0, 109, 0, 0, 0, 1, 1, 111, 0, 21, 0, 0, 0, 47, 111, 114, 103, 47, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 47, 68, 66, 117, 115, 0, 0, 0, 2, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0, 3, 1, 115, 0, 5, 0, 0, 0, 72, 101, 108, 108, 111, 0, 0, 0, 6, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0]) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] send_secondary_commands; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] write_commands; commands=[NegotiateUnixFD, Begin] extra_bytes=Some([108, 1, 0, 1, 0, 0, 0, 0, 29, 0, 0, 0, 109, 0, 0, 0, 1, 1, 111, 0, 21, 0, 0, 0, 47, 111, 114, 103, 47, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 47, 68, 66, 117, 115, 0, 0, 0, 2, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0, 3, 1, 115, 0, 5, 0, 0, 0, 72, 101, 108, 108, 111, 0, 0, 0, 6, 1, 115, 0, 20, 0, 0, 0, 111, 114, 103, 46, 102, 114, 101, 101, 100, 101, 115, 107, 116, 111, 112, 46, 68, 66, 117, 115, 0, 0, 0, 0]) 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] receive_secondary_responses; expected_n_responses=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::client] receive_secondary_responses; expected_n_responses=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::handshake::common] read_commands; n_commands=1 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] socket reader; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] socket reader; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [zbus::connection::socket_reader] read_socket; 2025-05-26T14:03:42-07:00 INFO [util] set environment variables from shell:/bin/bash, path:/home/linuxbrew/.linuxbrew/bin:/home/linuxbrew/.linuxbrew/sbin:/var/home/owner/.local/bin:/var/home/owner/bin:/usr/lib64/ccache:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
do you using pyright as lsp? you can disable pyright and then survey
@CharlesChen0823 I just installed Zed from flathub and the only thing I changed was the theme so I'm using whatever the defaults are. When I run ps it seems to be running.
ps aux | grep pyright
owner 2478664 0.0 0.2 1066904 144920 ? Sl 14:12 0:07 /var/home/owner/.var/app/dev.zed.Zed/data/zed/node/node-v22.5.1-linux-x64/bin/node /var/home/owner/.var/app/dev.zed.Zed/data/zed/languages/pyright/node_modules/pyright/langserver.index.js --stdio
owner 2611031 0.0 0.0 230344 2324 pts/13 S+ 23:33 0:00 grep --color=auto pyright
How can I disable pyright? The Zed documentation also mentions PyLSP so I looked at that project's Github and followed directions to install via pip install python-lsp-server.
reference the docs, add
"languages": {
"Python": {
"language_servers": ["!pyright", "pylsp", "..."]
}
}
to settings.json.
whether pyright cause the memory leak or not, just my guess.
ok I added that to my config then restarted Zed and now I see pylsp running instead of /var/home/owner/.var/app/dev.zed.Zed/data/zed/languages/pyright/node_modules/pyright/langserver.index.js
ps aux | grep pylsp
owner 2637817 0.8 0.0 508776 54608 ? Sl 01:20 0:00 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2638742 0.0 0.0 230344 2344 pts/13 S+ 01:22 0:00 grep --color=auto pylsp
guess we'll see in a few days if my computer crashes or not.
With Python LSP Server I noticed the pylsp process would not exit after closing Zed and new processes would spawn after starting Zed again. Is this the expected behaviour?
ps aux | grep pylsp
owner 2670430 9.9 0.0 450812 62192 ? S 02:59 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670431 10.9 0.1 456468 67044 ? S 02:59 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670432 9.3 0.0 452112 62920 ? S 02:59 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670433 9.9 0.0 452432 62680 ? S 02:59 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670434 10.8 0.0 452332 63564 ? S 02:59 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670435 10.4 0.0 454280 64180 ? S 02:59 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670436 10.8 0.0 454536 64532 ? S 02:59 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670437 9.5 0.0 452556 62964 ? S 02:59 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670805 20.7 0.0 454564 64428 ? S 03:00 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670806 21.7 0.0 450588 61344 ? S 03:00 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670809 22.2 0.0 453248 63304 ? S 03:00 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670811 23.9 0.1 456432 67368 ? S 03:00 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670812 20.7 0.0 452460 63692 ? S 03:00 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670813 22.2 0.0 453636 64644 ? S 03:00 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670814 20.6 0.0 454196 64560 ? S 03:00 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2670815 23.3 0.1 456548 66528 ? S 03:00 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2671064 98.3 0.0 287344 53996 ? R 03:00 0:01 /usr/bin/python3 /var/home/owner/.local/bin/pylsp
owner 2671188 0.0 0.0 230344 2344 pts/7 S+ 03:00 0:00 grep --color=auto pylsp
I installed the Python LSP Server with all addons via pip install "python-lsp-server[all]" but I noticed it's still really bad, like it can't make basic autocomplete suggestion such as this. Is there something else I need to install or configure? 
Going to close this as the issue seems to be a memory leak with pyright. Please let me know if I've misunderstood and I can reopen. Please if you wouldn't mind go open an issue with pyright so they can help fix the leak. Additionally, if you could open a new issue for the pylsp process not dying it would be much appreciated. I also suggest installing one of the basedpyright, pyrefly or ty extensions and enable them in your settings like you did for pylsp (note that pyrefly and ty are both works in progress, but pyrefly has generally been more stable based on my testing) as pylsp is known to have many issues, and both pyrefly and ty are attempts to improve the Python language server situation
Also, check out #28079 for another case where LSP is failing to stop. Probably better to just keep track of that issue rather than creating your own as I suspect they are the same issue
@probably-neb I did some more monitoring and I don't think the problem is pyright. I'm still experiencing Zed taking up more and more RAM and CPU when I'm not even using it.

OK, I've reopened the issue. Thanks for looking into it more. Is there any other context you can give me to help me reproduce this?
I really have no clue. I can try to see if it's Flatpak related by using the version from here instead https://zed.dev/api/releases/stable/latest/zed-linux-x86_64.tar.gz
I really have no clue. I can try to see if it's Flatpak related by using the version from here instead https://zed.dev/api/releases/stable/latest/zed-linux-x86_64.tar.gz
I don't think it's relate to flatpak, because zed from flathub is a loader of zed, the program runs natively in fact.
And I didn't notice memory leak actually. zed will consume more memory when open some panel like terminal indeed, however looks very normal. I installed from flathub BTW.
I have a similar issue. Randomly, after some time zed has been running it quickly drains system memory. It is not a slow build-up — I can see it go from 5% to 100% usage in a few seconds. Then my computer freezes and I have to hard-reset it (even OOM killer isn't helping here lol). I don't use flatpak and the issue happens on rust project with only rust-analyzer running. However, before this bug happens I can see that syntax highlightning stops working for new keywords, this might be a clue.
Okay, now it happened after zed was running for 10 minutes... something is seriously screwed since the last update (I'm on stable 0.199.6)
Surprisingly enough, even killing zed doesn't help. When I start it again, the same thing happens in a matter of seconds.
Hi there! 👋 We're working to clean up our issue tracker by closing older bugs that might not be relevant anymore. If you are able to reproduce this issue in the latest version of Zed, please let us know by commenting on this issue, and it will be kept open. If you can't reproduce it, feel free to close the issue yourself. Otherwise, it will close automatically in 14 days. Thanks for your help!