-
Notifications
You must be signed in to change notification settings - Fork 464
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 calling cmake configure: JavaScript heap out of memory #2455
Comments
I'm also having this same problem with cmake 3.21.2. |
Does cmake work when you run the configure command outside of VS Code? If the differentiating factor is the version of CMake, it's possible that you would need Kitware to investigate this. You can open an issue for them here: https://gitlab.kitware.com/cmake/cmake/-/issues |
yes, outside VS Code cmake works as expected no error or crash occurs. |
Are you able to share a project that reproduces this problem? We have not encountered this before. I still think this should be on Kitware to fix so a report on their repo would be the best path forward, but we can try to help isolate the problem as well if you share some details as to how you are hitting the problem. Are you using a VM, or physical machine? How much memory? |
sorry but I can not share the details of the project. As I mentioned before the cmake commands are working as expected outside vscode. |
Having the same problem. Any resolution? |
This issue has been closed automatically because it needs more information and has not had recent activity. |
Brief Issue Summary
The extension is always crashing whenever I run the cmake configure command. I was not able to reproduce this behavior in other projects, seems to be just happening in this project that i've been working on (the project has a very large code base). The crash is only happening in cmake versions greater than v3.21.2 with version v3.20.1 i was not able to reproduce the crash.
CMake Tools Diagnostics
Debug Log
exthost-f1704e.cpuprofile
exthost-f1704e_cpuprofile.log
Platform and Versions
Important note: this crash does not happen with cmake version 3.20.1
The text was updated successfully, but these errors were encountered: