= vscode freezes or crashes when opening a large folder
<snap> vscode 1.100.2, <Ubuntu 25.04>
The issue appears to be that the file watcher goes out of control.
The reproduction is very simple:
``
mkdir mytest
cd mytest
seq 1000000 | xargs touch
code --disable-extensions .
``
and now the editor GUI hangs and Ubuntu shows a popup:
> The window is not responding
<htop> reveals a bunch of processes or threads of type:
``
/snap/code/194/usr/share/code/code
``
Infinite duplicate pool:
* https://github.com/microsoft/vscode/issues/237394
* https://github.com/microsoft/vscode/issues/79336
Back to article page