-
Notifications
You must be signed in to change notification settings - Fork 29.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Insiders Build fills up memory of server in Remote SSH #127728
Comments
The interesting thing though is that this does not happen in all servers with the same insider build and same set of extensions. So, I am assuming its something to do with |
Which process? Which extensions are installed? Does it happen immediately or when you take some action? |
@roblourens Thanks for your response. These are the extensions I have in This happens immediately after I do remote ssh filling up the RAM (and RAM fills up in 30 seconds or so after doing Remote SSH and running no other process). I do definitely think that its because of one of these extensions because I could have filed an issue against the respective extension causing this issue after figuring it out, but my concern here is that, since VSCode acts as a platform where all the extensions run, shouldn't VSCode enforce memory limits to the extensions which run on top and the child processes it runs, be it remote ssh or direct on host? Cause the memory jump is way too high (from 1GB to filling up 16GB be it due to probable orphan processes created by the extensions). How can we avoid situations like these considering it is difficult for a user to know this behavior in advance until they try out the extensions. In this case, since the RAM got filled up when doing remote ssh, the server actually crashed thrice which is when we figured out the cause of issue. Thanks 🙂 |
Our extension model doesn't really allow this. Extensions have full access to node APIs and aren't running in a sandboxed vscode environment. We do offer the command |
Steps to Reproduce:
I noticed that the latest VSCode insiders build fills up the server's memory completely when doing Remote SSH (Windows 11 Host, Ubuntu 20.04 Server) - It had 15 GB free memory and doing remote SSH filled up all of the 15GB. We noticed that it was the node process which is run by VSCode which is consuming the memory when debugging it.
This does not happen in the stable build though.
The text was updated successfully, but these errors were encountered: