-
Notifications
You must be signed in to change notification settings - Fork 30.1k
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
Crash every time at startup with 'Code 5' #184298
Comments
Up! |
This is happening to me on Mac Ventura 13.4.1 with VS Code: I attempted to open a large file several days ago. That caused a crash. I closed VS Code and now each time I open VS Code I get the crash with reason code 5. It keeps attempting to load the large file on open. I have the setting "Restore Windows" set to none and always have. The large file no longer exists on my system and still it seems to be attempting to load it on every restart. |
Great addition @Marshall-L-D . This is exactly how the issue started on my side too. Let's hope for a quick response from Microsoft. |
Got tired of waiting on a fix and since every day my VSCODE startup would attempt to load this old 1.46GB file and crash. I started looking around. Finally found where VSCODE stores its temporary data on Mac, ~/Library/Application Support/Code/. There was a directory "Backups" containing a numbered directory with a 1.46GB file. I deleted that subdirectory and contents under ~/Library/Application Support/code/Backups/. Now my VSCODE comes up cleanly, no crash. I hope this helps others who run into this issue. |
the workbench process crash due to out of memory when performing @martijnburger can you provide a minimal repro to help us debug this issue further, thanks! |
|
@deepak1556 What is going to happen now? |
The issue should be fixed once #167719 gets addressed. We cannot increase the memory cap for the process due to a limitation from the runtime, so a workaround until then would be to use our remote tunnels feature https://code.visualstudio.com/docs/remote/tunnels for viewing the affected files. |
Does this issue occur when all extensions are disabled?: Yes
Steps to Reproduce:
The editor could not be opened because the file was not found.
The window terminated unexpectedly (reason: 'crashed', code: '5')
Something along the same lines was also reported in this and users reported that they saw the same issue after the OP reported not seeing the problem anymore.
Copy of closed:
#180916
Attached find the crash report
vscode-crash.zip
The text was updated successfully, but these errors were encountered: