Replies: 6 comments 9 replies
-
Hello @fedbont94 One way to potentially work around this issue would be to try and limit the amount of memory that the GitHub Copilot extension is using by adjusting its settings. Also another option could be to try running the extension on a different cluster that has more available memory. 👍 |
Beta Was this translation helpful? Give feedback.
-
Bump, since this is still an issue. What is interesting is that copilot does not have |
Beta Was this translation helpful? Give feedback.
-
Hi all! I come back to this issue (which is still partially there). Solution 1. (easier in my opinion): Solution 2. (not practical): P.S. I have a heavy home folder with many files, and sometimes also Pylance takes some time to start. I read it is because it somehow needs to map all files in the folder or something. Idk if copilot has the same problem. Cheers all and happy coding |
Beta Was this translation helpful? Give feedback.
-
I'm having the same error here. Opening a small folder (even with just one |
Beta Was this translation helpful? Give feedback.
-
I find this solution works: https://qiita.com/bestvimmer_JP/items/2baa7d9f991cf92be99f Adding the following to
I believe the underlying cause remains unsolved but this is a working temporary solution for me. |
Beta Was this translation helpful? Give feedback.
-
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
Select Topic Area
Bug
Body
Hi all,
I have been using github copilot as a VsCode extension on my laptop and on 2 different clusters without any problems.
However, I have a problem/bug on a cluster. The problem is that github copilot is not working at all.
When I look at the output on VsCode, I see that:
VsCode output: GitHub Copilot
[ERROR] [promptlib proxy] [2023-01-26T10:18:03.103Z] {}
[ERROR] [promptlib proxy] [2023-01-26T10:18:03.107Z] {}
VsCode output: Windows
2023-01-26 11:18:03.111 [error] [Extension Host] [ERROR] [promptlib proxy] [2023-01-26T10:18:03.103Z] RangeError: WebAssembly.Memory(): could not allocate memory
at Object.r (/path/to/home/.vscode-server/extensions/github.copilot-1.70.8099/dist/worker.js:1:67775)
at Object.87 (/path/to/home/.vscode-server/extensions/github.copilot-1.70.8099/dist/worker.js:1:110658)
at n (/path/to/home/.vscode-server/extensions/github.copilot-1.70.8099/dist/worker.js:1:110986)
at Object.306 (/path/to/home/.vscode-server/extensions/github.copilot-1.70.8099/dist/worker.js:1:19565)
at n (/path/to/home/.vscode-server/extensions/github.copilot-1.70.8099/dist/worker.js:1:110986)
at Object.563 (/path/to/home/.vscode-server/extensions/github.copilot-1.70.8099/dist/worker.js:1:14830)
at n (/path/to/home/.vscode-server/extensions/github.copilot-1.70.8099/dist/worker.js:1:110986)
at /path/to/home/.vscode-server/extensions/github.copilot-1.70.8099/dist/worker.js:1:111040
at /path/to/home/.vscode-server/extensions/github.copilot-1.70.8099/dist/worker.js:1:111324
at Object. (/path/to/home/.vscode-server/extensions/github.copilot-1.70.8099/dist/worker.js:1:111346)
2023-01-26 11:18:03.111 [error] [Extension Host] [ERROR] [promptlib proxy] [2023-01-26T10:18:03.107Z] Error: Worker thread exited with code 1.
at Worker. (/path/to/home/.vscode-server/extensions/github.copilot-1.70.8099/dist/extension.js:8:866289)
at Worker.emit (node:events:526:28)
at Worker.[kOnExit] (node:internal/worker:278:10)
at Worker..onexit (node:internal/worker:198:20)
I already contacted the server support and they gave me the following info, if they can help:
There is no firewall or otherwise blocking of internet traffic from within ServerName to the outside.
On the other side all incoming traffic to ServerName is blocked. The only accessible port is ssh
A single process is not allowed to use more than 8GB of memory
$ code --version
1.74.3
97dec172d3256f8ca4bfb2143f3f76b503ca0534
x64
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04 LTS
Release: 22.04
Codename: jammy
Can anyone help me with this? or has an idea on how to solve this?
Thanks a lot!
Beta Was this translation helpful? Give feedback.
All reactions