Multiple language server processes increase memory footprint
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
Research direction
No source files, tests, or entry points are identified in the issue. Reproduce the behavior by opening multiple Xcode projects, observing copilot-language-server-arm64 processes, and then closing the projects. Done means avoiding unnecessary duplicate processes and releasing the remaining processes after all projects close.
Written by the indexing model from the issue text.
Description
Describe the bug
The extension spawns 2 copilot-language-server-arm64 processes per project, each consuming about 1GB of memory.
This increases memory pressure and leads to poor performance. Xcode's own high memory consumption doesn't make things better.
The fact that VS Code doesn't have this issue suggests that this is something that should be addressed.
Versions
- Copilot for Xcode: 0.46.0
- Xcode: 26.1.1
- macOS: 15.6.1
Hardware
- Apple M1 Pro 32 GB
Steps to reproduce
- Open an Xcode project
- Observe 2 copilot-language-server-arm64 processes spawning instantly
- Open another project
- Observe another 2 copilot-language-server-arm64 instances spawning
- Close all the projects
- Observe the copilot-language-server-arm64 processes remaining in memory
Screenshots
- Dominant language
- Swift
- Stars
- 6.3k
- Forks
- 2k
- Avg merge
- 3d 21h
- Merged PRs (30d)
- 2
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from github/CopilotForXcode
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
github/CopilotForXcode#181 · 2 reactions ·
-
Add ability to attach Copilot window only to Xcode projects/workspaces, ignoring standalone files Open
Difficulty 3/5 1-2 days Newbie friendliness 68/100
github/CopilotForXcode#945 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 35/100
github/CopilotForXcode#943 ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
github/CopilotForXcode#936 · 2 comments ·
-
Difficulty 5/5 Over a week Newbie friendliness 10/100
github/CopilotForXcode#934 ·
All issues in github/CopilotForXcode
Similar issues
-
area:dictation documentation P2
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
uttrflow/uttrflow-swift#1180 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
OneBusAway/onebusaway-ios#1451 ·
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100