github / github/CopilotForXcode

Multiple language server processes increase memory footprint

未关闭
#734 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
reviewed
主要语言
Swift
星标
6.3k
派生
2k
平均合并
2 分钟
30 天内合并 PR
2

描述

**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**
1. Open an Xcode project
2. Observe 2 copilot-language-server-arm64 processes spawning instantly
3. Open another project
4. Observe another 2 copilot-language-server-arm64 instances spawning
5. Close all the projects
6. Observe the copilot-language-server-arm64 processes remaining in memory

**Screenshots**

Image

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。