copilot-language-server-arm64 thread taking up over 100% of CPU and throttling the computer
Describe the bug After starting Github copilot for xcode, the "copilot-language-server-arm64" would take up ~200% of CPU on my Apple M4 Max macbook pro, leading to high cpu temperature, slow response doing anything including filing this issue, and making Xcode almost unusable.
Versions
- Copilot for Xcode: 0.43.140; this started several versions ago
- Xcode: 26.0.1; this was happening on Xcode 18 as well
- macOS: 15.6.1
Steps to reproduce
- open Xcode
- Github copilot for xcode would auto open and the issue starts.
Screenshots
Logs github-copilot-for-xcode.log
Additional context
Same here
@askzy @guoyaoming-zsxq thanks for reaching out. Would you mind sharing the sampling data from Activity Monitor?
attached here is a sample data
Sample of copilot-language-server-arm64.txt
is that... a recursive function calling self or something?...
I'm a full-stack developer with 8+ years of experience, passionate about creating tools that solve real problems. When I'm not coding, I write technical tutorials and speak at developer conferences. My goal is to make programming more accessible and enjoyable for everyone.
The issue has not been resolved, but has slightly improved with recent releases. When opening Xcode and launching the copilot for Xcode plugin, copilot would take 100% CPU for many minutes, but eventually goes back to normal.