You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of version 0.23.2, GitHub Copilot chat in VSCode has become unusable in our organization. When changes are made to the build directory in our source tree, chat seems to pick them up and balloon in memory. Deleting a few thousand files from build is enough for the chat extension to run the extension host on the system out of memory and get OOMkilled (60+ GB of memory in use by chat). This happens whether or not the build directory is included in or excluded from the VSCode workspace. We use vanilla Ubuntu 22.04 as our dev environment and use the remote server to connect to laptops for editing. Chat extension version 0.22.0 does not have this issue and sits at a steady ~1GB regardless of build activity. It broke somewhere between 0.22.0 and 0.23.2. I did not bisect. We have pinned 0.22.0 as a workaround for now.
Copilot Chat Extension Version: 0.23.2
VS Code Version: 1.96.4
OS Version: Ubuntu 22.04 (server host), various clients (Windows, Mac, Linux, repros on all)
Logs: Attached below
Steps to Reproduce:
Set up a workspace that includes build artifacts in the source tree. In our environment this includes binary objects, JSON, autogenerated code, and a bunch of other stuff. Not sure exactly what triggers chat to explode.
Run build while watching htop or similar on the host server, sorted by memory usage.
Observe very high memory usage from the code extension host.
Roll Copilot Chat back to version 0.23.1 and rerun; no issue.
As of version 0.23.2, GitHub Copilot chat in VSCode has become unusable in our organization. When changes are made to the
builddirectory in our source tree, chat seems to pick them up and balloon in memory. Deleting a few thousand files frombuildis enough for the chat extension to run the extension host on the system out of memory and get OOMkilled (60+ GB of memory in use by chat). This happens whether or not the build directory is included in or excluded from the VSCode workspace. We use vanilla Ubuntu 22.04 as our dev environment and use the remote server to connect to laptops for editing. Chat extension version 0.22.0 does not have this issue and sits at a steady ~1GB regardless of build activity. It broke somewhere between 0.22.0 and 0.23.2. I did not bisect. We have pinned 0.22.0 as a workaround for now.Steps to Reproduce:
htopor similar on the host server, sorted by memory usage.codeextension host.GitHub Copilot Chat.log

remoteexthost.log -- I redacted some details about our source tree but let me know if you need more info.