Replies: 24 comments 18 replies
-
Hi @koen-dev , Thanks for reporting this issue with such a great description. Apologies for the trouble caused. I have shared this issue internally with the product team and they are looking into it. Please note that issues like these need thorough investigation and enough votes to be able to identify as a bug and it will need some time. We do not have an ETA on our response for the outcome. That being said, this is on our radar and if we notice the issue to be more prevalent, we'll do the needful. 🙂 |
Beta Was this translation helpful? Give feedback.
-
https://github.com/orgs/community/discussions/53846#discussioncomment-5922539 |
Beta Was this translation helpful? Give feedback.
-
High cpu usage, resulting in large cpu cooling fan speed, noise and computer slowdown, especially in multiple open vscode windows, the computer will become slow, because the cpu resources are occupied too much I tried to use vscode remote development to free up my local computer, however Copilot is still taking up my local cpu resources |
Beta Was this translation helpful? Give feedback.
-
Having the same issue here with high cpu usage when copilot extension is enabled.. note that I'm running Ubuntu and not MacOS. Here are the versions of my setup:
The only way I could stop the high cpu usage was disabling the copilot extension.. |
Beta Was this translation helpful? Give feedback.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
This comment was marked as off-topic.
-
I'm exepriencing same issue when running When I try to log the command line of the process causing excessive memory and cpu usage i get the following: $ cat /proc/79906/cmdline
/usr/share/code/code--ms-enable-electron-run-as-node--max-old-space-size=3072/usr/share/code/resources/app/extensions/node_modules/typescript/lib/tsserver.js--useInferredProjectPerProjectRoot--enableTelemetry--cancellationPipeName/tmp/vscode-typescript1000/018118fd9725797d1978/tscancellation-3f34ff507dbd39ee5a10.tmp*--localeen--noGetErrOnBackgroundUpdate--validateDefaultNpmLocation--useNodeIpc It seems that it is somehow related to the way the extension is interracting with TypeScript Language Service.
|
Beta Was this translation helpful? Give feedback.
-
I've run into this problem today while getting setup on a new monorepo. This is the rg command consuming CPU on my laptop: /Applications/Visual Studio Code.app/Contents/Resources/app/node_modules.asar.unpacked/@vscode/ripgrep/bin/rg --files --hidden --case-sensitive --no-require-git -g **/.copilotignore -g !**/.git -g !**/.svn -g !**/.hg -g !**/CVS -g !**/.DS_Store -g !**/Thumbs.db --no-ignore --follow --no-config --no-ignore-global Deciphering this command, it believe it's looking for I ran the above command directly, and it looks like some of our node modules have circular dependencies, which are causing excessive recursion. Even though rg has some detection for this and stops before going around the world again, if it keeps on hitting this problem it would significantly extend the runtime of this command. copilot version: v1.99.289 |
Beta Was this translation helpful? Give feedback.
-
Any updates on this? I'm still experiencing high CPU usage on Copilot version v1.133.0. |
Beta Was this translation helpful? Give feedback.
-
Some details and possible solutions: Version: 1.84.2 (system setup)
Commit: 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e
Date: 2023-11-09T10:51:52.184Z
Electron: 25.9.2
ElectronBuildId: 24603566
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045
GitHub Copilot extension: v1.138.0 The process triggered on my machine and consuming 100% CPU is
There are a few relevant VSCode settings:
Now you can see how the command parameters are composed. I did not have Adding {
"files.exclude": {
"**/node_modules": true, However, I believe the Copilot extension should respect the |
Beta Was this translation helpful? Give feedback.
-
I am having a similar issue in the |
Beta Was this translation helpful? Give feedback.
-
Also getting high CPU usage through rg from Copilot. files.exclude works but it hides those files in my editor which I don't really want. Ideally, Copilot would use the .gitignore file as others have suggested |
Beta Was this translation helpful? Give feedback.
-
@Akash1134 Any chance you could re-prioritize this one? It seems like it's affecting a good chunk of people, and there is no real workaround that doesn't negatively affect some other functionality. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I think @mbtools is correct and came here to post the same.
Started (or became noticeable) today after I updated Ubuntu, but I didn't update VS Code Insiders (was already on the latest as of this writing |
Beta Was this translation helpful? Give feedback.
-
I am quitting on it. I can live without those suggestions, but otherwise I can't do anything in my IDE. |
Beta Was this translation helpful? Give feedback.
-
My temporary solution: |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I'm having this issue after vscode updated to v1.88. I am using CoPilot v1.178. This issue only occurs when I have a big project opened. I tried the solution mentioned by @mbtools but it isn't helping.
Any help would be appreciated. |
Beta Was this translation helpful? Give feedback.
-
It sounds like a new "copilot-exclude" setting is needed |
Beta Was this translation helpful? Give feedback.
-
A year later and this is still an issue :/ |
Beta Was this translation helpful? Give feedback.
-
I'm getting a similar issue in PHP storm. copilot sub process is currently consuming 30gb almost 3x what the java process for phpstorm itself is using. |
Beta Was this translation helpful? Give feedback.
-
That's it, I'm switching to cursor and cancelling my copilot subscription. If they won't fix it, why pay? https://github.com/settings/billing/summary <= to cancel your subscription to Copilot |
Beta Was this translation helpful? Give feedback.
-
Hi everyone, I and my coleages have also a problem using copilot in idea (java projects). The copilot plugin is claiming that much memory that either the tomcat or idea is being killed by the system caused by out of memory (ubuntu). After disabling the copilot plugin the problem is gone. We also saw, that on September 2 the copilot-language-server process used about 43MB, today it uses >10GB of memory. |
Beta Was this translation helpful? Give feedback.
-
GitHub Copilot High Resource Usage Bug Report
Description
After upgrading the GitHub Copilot extension to the version 1.82.51 in VS Code, the
rg
process is experiencing high CPU usage, specifically running at over 500% on an Apple M1 MacBook Pro. This issue becomes particularly apparent when working on larger projects, rendering the GitHub Copilot extension essentially unusable. It appears that this is not an isolated incident, as other users have reported similar experiences. Here is a link to a previous discussion on this topic: Previous Discussion Comment.Steps to Reproduce
rg
process.Expected Result
The
rg
process should use a reasonable amount of resources, allowing for smooth and efficient operation of the VS Code and the GitHub Copilot extension even on larger projects.Actual Result
The
rg
process is consuming excessive resources, specifically running at over 500% CPU usage. This leads to significant slowdown and makes it impossible to effectively use the GitHub Copilot extension, especially on larger projects.Given the subscription model of the GitHub Copilot extension, the expectation is that this issue would be addressed, or at least acknowledged, by GitHub in a timely manner. Currently, that has not happened, which is a source of frustration.
Beta Was this translation helpful? Give feedback.
All reactions