GitHub Copilot High Resource Usage Bug Report #56755
Replies: 37 comments 33 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.
-
|
|
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--useNodeIpcIt 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-globalDeciphering 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.0The 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.
-
|
Bump |
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.
-
|
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.
-
|
A funny fact is that, it's actually consuming quite a bit of memory in IDEA even when the extension itself is not authorised |
Beta Was this translation helpful? Give feedback.
-
|
I have the same problem in PyCharm. Have tried all the fixes here, but it still uses most of my CPU when the Copilot Chat sidebar is open. Extremely frustrating. |
Beta Was this translation helpful? Give feedback.
-
|
Same problem on Intel Mac, PyCharm. Using 100% of one core. |
Beta Was this translation helpful? Give feedback.
-
|
Github copilot really needs a |
Beta Was this translation helpful? Give feedback.
-
|
If you read this, please upvote this issue (at the top). |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
It’s 2025 and this is still an issue, I’m canceling it |
Beta Was this translation helpful? Give feedback.
-
|
I'm also experiencing this. |
Beta Was this translation helpful? Give feedback.
-
|
To the recent posters, unless your issue is about the |
Beta Was this translation helpful? Give feedback.
-
Can't believe it took 32GB RAM. I used this on IntelliJ products like Android Studio and Webstorm.
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
|
I’m experiencing the same issue. GitHub Copilot on the website (github.com/copilot) uses a huge amount of memory, and even after the task is completed, it doesn’t release the memory. Isolated Web Co reach to 8GB of RAM usage, and I need to force stop process because it doesn't release. |
Beta Was this translation helpful? Give feedback.
-
|
|
Beta Was this translation helpful? Give feedback.











Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
GitHub Copilot High Resource Usage Bug Report
Description
After upgrading the GitHub Copilot extension to the version 1.82.51 in VS Code, the
rgprocess 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
rgprocess.Expected Result
The
rgprocess 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
rgprocess 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