CopilotForXcode icon indicating copy to clipboard operation
CopilotForXcode copied to clipboard

copilot-language-server-arm64 thread taking up over 100% of CPU and throttling the computer

Open askzy opened this issue 2 months ago • 6 comments

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

  1. open Xcode
  2. Github copilot for xcode would auto open and the issue starts.

Screenshots Image

Logs github-copilot-for-xcode.log

Additional context

askzy avatar Oct 10 '25 01:10 askzy

Same here

guoyaoming-zsxq avatar Oct 10 '25 02:10 guoyaoming-zsxq

@askzy @guoyaoming-zsxq thanks for reaching out. Would you mind sharing the sampling data from Activity Monitor?

testforstephen avatar Oct 10 '25 03:10 testforstephen

attached here is a sample data

Sample of copilot-language-server-arm64.txt

is that... a recursive function calling self or something?...

askzy avatar Oct 10 '25 23:10 askzy

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.

youngnono-hue avatar Oct 11 '25 15:10 youngnono-hue

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.

askzy avatar Oct 31 '25 00:10 askzy

Image

Sunxb avatar Nov 04 '25 02:11 Sunxb