-
Notifications
You must be signed in to change notification settings - Fork 85
Extension hangs / freezes VS Code in big folders #85
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
Comments
Confirming this bug exists. Strangely enough, it only started causing issues for me when I updated to VSCode 1.16. I had it installed and working previously without a problem. After I upgraded, VSCode started to freeze and after about 1min - it would crash. Here's the odd thing - it only happened when I opened a PHP app repo I've been working with for months without any issues. Other projects didn't cause a crash. PHP project directory is by far the largest though, so that may be related. Details: |
@zignd The problem is that workspace.openTextDocument is used for all css & html resources in the workspace.
If there is a need, we can look into providing additional API in VSCode to detect the language and file encoding. Please file issues! Thanks a lot! |
I have the same problem when opening a large angular project. VSCode version: 1.17.0 (1.17.0) |
Another confirm with a rather small size C++ project. Hang the main process. VSCode 1.17.0 on macOS 10.12.6. |
Fix for issue #85 Extension hangs / freezes VS Code in big folders
I guess this issue has been fixed in the latest update. Thanks to Erich Gamma for this great pull request #90. |
This is still happening for me on Ubuntu 16.04, VS Code 1.19.2, latest version of the extension at time of writing. With the extension enabled, VS Code will periodically crash, taking out my whole session. Running two copies of VS Code would cause that to happen within seconds. With the extension disabled, I have encountered no problems over a period of several days usage, multiple instances of VS Code, moderately large projects. |
Hi @mcquiggd, would be great if you could help me reproduce the crash. If you have some time, could you create a public repository or point me to one that causes the crash to occur? So that I can clone and open it a VS Code workspace. Another thing, the crash is due to excessive memory consumption? |
STR:
Download liberoffice master git (git clone git://anongit.freedesktop.org/libreoffice/core), open this folder in VS code. After some secs Vs code is frozen
The text was updated successfully, but these errors were encountered: