Skip to content
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

The window has crashed (reason: 'oom', code: '-536870904') #130375

Closed
newtykip opened this issue Aug 8, 2021 · 19 comments
Closed

The window has crashed (reason: 'oom', code: '-536870904') #130375

newtykip opened this issue Aug 8, 2021 · 19 comments
Assignees
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues info-needed Issue requires more information from poster windows VS Code on Windows issues

Comments

@newtykip
Copy link

newtykip commented Aug 8, 2021

Does this issue occur when all extensions are disabled?: Yes

Screenshot

  • VS Code Version: 1.59.0
  • OS Version: Windows 10 21H1 (Build 19043.1110)

Steps to Reproduce:

  1. Launch VS Code
  2. Randomly but frequently while working I get the error screenshotted above and when I attempt to re-open the window it just crashes out of VS Code entirely.
@vscodebot
Copy link

vscodebot bot commented Aug 8, 2021

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@arzpgh60
Copy link

arzpgh60 commented Aug 9, 2021

0pen

@rzhao271 rzhao271 added the freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues label Aug 9, 2021
@newtykip
Copy link
Author

This keeps happening still at frequent intervals, it's incredibly strange.

@deepak1556
Copy link
Contributor

deepak1556 commented Aug 11, 2021

Please follow these steps https://github.com/microsoft/vscode/wiki/Native-Crash-Issues and attach the crash log.

@deepak1556 deepak1556 added info-needed Issue requires more information from poster windows VS Code on Windows issues labels Aug 11, 2021
@pbldmngz
Copy link

pbldmngz commented Aug 20, 2021

Got the exact same issue opening an executable created with pyinstaller that used easyocr. I had a bug that made the program create infinite processes and collapse memory but never work. It works just fine in the editor though. After collapting my sistem this error may appear.

Just for the sake of info: my problem in python was caused for not using PIL -> ImageGrab, I was using other ImageGrab library.

@Voltaicmimic
Copy link

Voltaicmimic commented Aug 27, 2021

I've been getting this problem for the past like 3 days. Not only Visual Studio Code crashes, but Brave (My browser) & Discord crashes too! This is insanely annoying!! I'm just trying to code some JS maaan!

@Zaieon
Copy link

Zaieon commented Aug 29, 2021

I've been getting this same issue also. My Visual Studio totally crashes and I have to re-run. I did an update recently though so I'm guessing that's the cause. Or maybe it has something to do with react because that's the technology I'm working with. Still searching for ways to fix it.

@manish-amplework
Copy link

image
I have also getting this issue.

@Zaieon
Copy link

Zaieon commented Aug 31, 2021 via email

@the-one-with-raspberry
Copy link

I am also getting this issue!!!
image

@the-one-with-raspberry
Copy link

@newtykins Good thing that you opened the issue

@newtykip
Copy link
Author

newtykip commented Sep 8, 2021

Oh hey I didn't really find a way to fix it because I had planned to clean install Windows some time soon so I decided to do it then and when I reinstalled Visual Studio Code worked. So maybe fully remove Visual Studio Code from your system and then reinstall it?

@ghartz-hz
Copy link

I'm also seeing this problem fairly frequently since the last update of VSCode. On top of that, although a lot more minor of an issue, "Reopen" doesn't do anything.

@f-markus
Copy link

f-markus commented Sep 17, 2021

I also had / have this issue and I narrowed it down to a very strange change in my extension's package.json:
I do provide custom semantic types, so I have plenty of entries like:

"semanticTokenTypes": [
      {
        "id": "identifier",
        "description": "identifiers without specific role"
      },
      {
        "id": "type",
        "superType": "type"
      },
      {
        "id": "label",
        "superType": "label"
      },
      {
        "id": "attribute"
      },
]

When I added "description": "..." tags to all of the semanticTokenTypes (because otherwise the extension's runtime-status shows a warning that those entries don't have descriptions), the OOM error keeps showing up deterministically. It's not a single entry that causes the problem, but at least three of them. I couldn't figure out a workaround except for removing the "description" tags again. The tokenTypes in question are the ones above: type, label and attribute. I suspect that their name is already in use and this causes some strange behavior of VSCode

@Hashflower
Copy link

Same issue here, anyone fixed it ?

@smi48
Copy link

smi48 commented Sep 30, 2021

image
same issue, wtf

@Yasi97
Copy link

Yasi97 commented Oct 3, 2021

Same issue here, anyone solved it ?

@PaprPrintr
Copy link

Solved it, one of my RAM stick was fucked, as soon as I removed it the problem disappeared. Recommend to do a RAM check to identify the default one in case. Might not be the issue, but for me that was it.

@github-actions github-actions bot locked and limited conversation to collaborators Oct 7, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
freeze-slow-crash-leak VS Code crashing, performance, freeze and memory leak issues info-needed Issue requires more information from poster windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

16 participants