-
Notifications
You must be signed in to change notification settings - Fork 315
Crash (OOM) on debugging #2173
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
Here is minimal reproduction repo: https://github.com/karolis-zukauskas/js-debug-sourcemap-oom See comments in README. |
Thanks, that was quite helpful. @segevfiner wonder if this fixes your use case too. |
@connor4312 Did it reach the nightly yet? I'll play around and let you know if it happens again. |
It should be on the latest version |
@segevfiner - were you able to verify if this was resolved? |
I didn't encounter this again just yet, but my reproduction was always rather sporadic. I'll open a new issue if I hit the problem again. |
@amunger for me the crashes are gone with nightly. Last day I switched back to stable because there seems to be a new separate issue with nightly and the crashes immediately reappeared, so I guess this PR does indeed fix the OOM issue. |
Managed to reproduce on nightly unfortunately: vscode-debugadapter-d76d65d3.json Let me know if you want to reopen this or for me to open another issue. |
I get this constantly when trying to debug by attaching to node in our applications. It happens in our apps and our jest tests. We are running in a devcontainer. I have disabled DWARF debugging info, but I suspect it has to do with our extensive use of WebAssembly. Is there any way to increase the memory given to the extension host?
|
To clarify, you see this issue resolved when you disable DWARF debug info? |
No, the issue exists with DWARF debug info disabled. |
Maybe I'm mis-understanding how to carve out files or maybe it has nothing to do with source maps? The workspace is a monorepo with a few million lines of code, service oriented architecture backend and a WebGL/WASM based frontend (a collaborative electronics CAD application). I'm using
|
I'll look into it. We do decompile WASM->WAT regardless of I should PR a "take heap snapshot" button into vscode's extension view to make it easier for people to help collect memory data 😄 |
Is there currently a way to take a heap snapshot? I can try and do that next time I manage to reproduce, though I will need to get approval from my employer to share it privately with you due to size and risk of confidential content in such a dump... |
Describe the bug
The extension host crashes on debugging (Another reproduction of #1911). Unfortunately this is a proprietary project so I can't share an immediate reproduction, but I'll share whatever I can that can help pinpoint what causes the crash.
To Reproduce
Steps to reproduce the behavior:
Log File
vscode-debugadapter-f7de7273.json
VS Code Version: 1.97.2
Additional context
Another reproduction of #1911
The text was updated successfully, but these errors were encountered: