-
Notifications
You must be signed in to change notification settings - Fork 123
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
Heap memory limit #2296
base: master
Are you sure you want to change the base?
Heap memory limit #2296
Conversation
65c4c2f
to
e5fa79b
Compare
|
I can't reproduce. At least not with such a high value.
|
Ok, I can reproduce without the |
It seems to be a problem with backtracking. I think it's doing the backtracking even though there is no frame from where it could load, so I think it hits Undefined Behavior inside |
(One reason why you were not able to reproduce it with exactly the same values is that you invoked Scryer with a minimally different path: |
The crash happens because Throwing resource errors is one of the problems I'm now working on by adding a proper GC, replacing the current heap data type of |
Adds a simple check for the size of the heap that is done every once in a while, as described in #2294. I haven't implemented the cli argument yet, but it should be possible with this. Example usage: