-
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
VS Code crashes with minimap and bracket colorizer enabled on large file #140661
Comments
This did not crash for me and I couldn't find a problem with the minimap. On my machine, it allocates 3x 540KB buffers for the pixels, but otherwise it seems to be running fine. After a lot of waiting, I was even able to generate a heap snapshot. @jrieken the |
OK, update on my end: This does not happen in an empty workspace. It happens 100% of the time when I open VS Code to our monorepo and open the file:
I have no other files open, just big.js. Is there any debug info I might be able to fetch for you? |
@alexdima Figured it out. Enable the bracket colorizer, and it reproduces!
I'll update the ticket above. |
@jvilk-stripe are you able to update to latest Stable version, 1.63.2, then re-test? |
I just downloaded the latest stable version and it does not reproduce! Sorry for the noise, everyone -- we delay the rollout of new versions internally. :) |
The |
…soft/vscode#140661 Commit: ca73e748cf812fce95eef9e35b16e1381ac2edcb
…ed, microsoft/vscode#140661 Commit: 870f9d8023a0aa7a57cc8294c8fb3ef8fcb22695
Closing after fixing a couple of outlines related things
|
Does this issue occur when all extensions are disabled?: Yes/No
Steps to Reproduce:
--disable-extensions
I have attached a gzipped file which reproduces the issue:
big.js.gz
You may be wondering, "why on earth do we have a 5MB JavaScript file?" The answer... is codegen. :)
A simplish fix for us would be to let us disable minimap on large files.
The text was updated successfully, but these errors were encountered: