-
Notifications
You must be signed in to change notification settings - Fork 0
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/slowdown when asynchronously stepping to point in large files #54
Comments
Probably the Coq state (memory usage of a single coq instace) is too large to be duplicated via not-fork. Then the kernel kills the worker. You should see that in the The new LSP thing we are working on should work better, since it uses fork on unix (copy on windows), while the old STM copies on all systems. |
Using
so indeed it is looks like it. |
It seems it is using 2G, so 4G with 2 processes. Is your PC under some other load? |
Nothing heavy, no – probably a browser with a few open tabs, maybe another Electron-based application. |
When stepping through large files (those of MetaCoq) using the asynchronous interpret to point feature, I often get first a slowdown/freeze of my system, then recover from the slowdown but with a greyed out proof goal window.
Using the synchronous interpret to point seems to work, and stepping manually in smaller steps also mitigates the issue.
I guess this means that something, somewhere, chokes on my file then crashes, but not sure what, nor how I can debug this further – I don’t know much about VsCode.
The text was updated successfully, but these errors were encountered: