Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Multiple language server processes increase memory footprint

Open
#734 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
macos, swift
Domain
desktop, devtools

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

reviewed

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
Dominant language
Swift
Stars
6.3k
Forks
2k
Avg merge
3d 21h
Merged PRs (30d)
2

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from github/CopilotForXcode

All issues in github/CopilotForXcode

Similar issues

More Swift issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.