Skip to content

Frequent UI Freezes (Beach Ball) during Agent Chat sessions on M4 Mac #812

@last-Programmer

Description

@last-Programmer

Description
I am experiencing frequent application hangs (spinning wait cursor/beach ball) when using the Agent Chat feature in CopilotForXcode. After a period of active use, the interface becomes unresponsive, necessitating a restart of Xcode to restore functionality.

Environment
Hardware: MacBook Air M4

Memory: 16GB RAM

macOS Version: [macOS 26.4]

Xcode Version: [Xcode 26.4]

CopilotForXcode Version: [v0.47.0]

Steps to Reproduce
Open Xcode and initiate a session with CopilotForXcode.

Engage in a prolonged conversation or multiple successive queries within the Agent Chat.

After some time, the UI freezes, and the "beach ball" appears.

Chat Window remains unresponsive for long time.

Observations
The issue seems to trigger more frequently during long chat histories.

System memory pressure appears manageable, but the communication between the agent and Xcode seems to dead-lock the main thread.

Restarting Xcode is currently the only workaround.

Additional Context
I am looking for advice on whether this is a known memory leak or a threading issue, and if there are any specific settings (e.g., chat history limits or model configurations) that can mitigate this behavior on 16GB RAM systems.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions