visual-studio-codeout-of-memory

VScode crashed (reason: 'oom', code: '-536870904')


I am trying to open a folder that I opened before, but it crashed. I can open other projects, and restarting the computer didn't help.

Maybe it's because I had a big file opened (400mb) in this folder, but I cant close this file because the vscode crashing every time when I tried open the workspace..

https://github.com/microsoft/vscode/issues/126127 https://github.com/microsoft/vscode/issues/130375


Solution

  • I solved the problem by restarting my computer and opening VS Code from a different folder. To handle large JSON files, I use Dadroit JSON Viewer, which prevents the issue from recurring.