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 摘要。