slidev
slidev copied to clipboard
vscode slidev extension exhausts resources (memory, cpu) when running npm install
Describe the bug
When running npm install in one of my workspaces with a large number of dependencies, my memory quickly gets maxed out and my only solution is to kill vscode. I traced the issue to the slidev extension, which causes many rg (ripgrep) processes to be launched. Disabling the extension makes npm install work again.
https://github.com/microsoft/vscode/wiki/Search-Issues#slow-search-rg-running-for-a-long-time-or-consuming-lots-of-cpumemory