Skip to content
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

Enforce memory limits on extensions #175249

Closed
tvvignesh opened this issue Feb 23, 2023 · 1 comment
Closed

Enforce memory limits on extensions #175249

tvvignesh opened this issue Feb 23, 2023 · 1 comment
Assignees
Labels
*duplicate Issue identified as a duplicate of another issue(s)

Comments

@tvvignesh
Copy link

I just figured out that there is a memory leak with lit-plugin extension and I reported it here: runem/lit-analyzer#298

This ended up taking up my complete RAM in my remote VM (I develop using remote SSH) leading to the VM rendering itself unresponsive and I had to reboot the VM again.

Now, while the reason for the memory leak is an issue with the extension, my concern is that VSCode must not allow extensions for consuming such huge amounts of memory. I already discussed this here but bringing this back up again since its critical to be addressed: #127728 (comment)

In summary, this is a feature request for VSCode to allow for throttling of resources used by extensions (with limits automatically set / specified by the user) - this will avoid such issues. Thanks.

@alexdima
Copy link
Member

This can only be possible if we implement a sandbox for running extensions. Let's track in a very similar issue -- #52116

@alexdima alexdima closed this as not planned Won't fix, can't repro, duplicate, stale Feb 23, 2023
@alexdima alexdima added the *duplicate Issue identified as a duplicate of another issue(s) label Feb 23, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Apr 10, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

5 participants