edit prediction: Drop project state after a project goes away#48191
Merged
edit prediction: Drop project state after a project goes away#48191
Conversation
708ea88 to
159c790
Compare
|
Also, if at all possible, ideally Zed would only spin up one Copilot LSP per Zed parent process, otherwise, if I have 5 projects open, then I have 5 Github LSPs, each taking up to 2 GB of RAM :-( As a result, I'm having to limit myself to 2 projects open at a time, otherwise things start to hit swap, and everything slows down. |
Member
Author
|
/cherry-pick preview |
github-actions bot
pushed a commit
that referenced
this pull request
Feb 2, 2026
Closes #48097 Release Notes: - Fixed Copilot instances not being cleared up after their window is closed. - Copilot edit prediction provider now respects `disable_ai` setting.
zed-zippy bot
added a commit
that referenced
this pull request
Feb 2, 2026
… (cherry-pick to preview) (#48206) Cherry-pick of #48191 to preview ---- Closes #48097 Release Notes: - Fixed Copilot instances not being cleared up after their window is closed. - Copilot edit prediction provider now respects `disable_ai` setting. Co-authored-by: Piotr Osiewicz <24362066+osiewicz@users.noreply.github.com>
adb-sh
pushed a commit
to adb-sh/zed
that referenced
this pull request
Feb 5, 2026
…dustries#48191) Closes zed-industries#48097 Release Notes: - Fixed Copilot instances not being cleared up after their window is closed. - Copilot edit prediction provider now respects `disable_ai` setting.
|
I am still getting this problem on NixOS with Zed 0.223.3 for some reason. When I start Zed it shows 3 Copilot instances open, and killing them reduces memory usage. I'll try updating when I can but the issue was marked as fixed in 0.223.3. Might be worth looking into again? I can open another issue if needed. $ ps aux | grep copilot-language-server | wc -l
3
$ pkill -f copilot-language-server
$ ps aux | grep copilot-language-server | wc -l
1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #48097
Release Notes:
disable_aisetting.