-
Notifications
You must be signed in to change notification settings - Fork 35
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
A strange performance/OOM issue in quint run
#1543
Comments
In the end, it ran out of memory. There is nothing interesting in the stack trace though:
|
Debugging this. Found which expression is causing the issue:
|
@konnov the problem is actually that Just to make sure, I tried reducing some sets that compose pure val SECURITY_COUNCIL_MEMBERS = Set("sc1", "sc2")
pure val SECURITY_COUNCIL_MEMBERS_QUORUM = SECURITY_COUNCIL_MEMBERS.powerset().filter(ms => ms.size() >= 9)
pure val GUARDIAN_MEMBERS = Set("g1")
pure val ZK_FOUNDATION_MEMBERS = Set("zkf1")
pure val NON_MEMBERS = Set("nobody1", ZERO_ADDRESS) Having a timeout with nice reporting of which expression timed out would be the best UX here - but for now, I can manually debug for anyone in need 😅 |
When I am running
quint run
against this spec, it makes no progress at all. On 100k samples, it even ran out of memory. I suspect non-terminating recursion:The text was updated successfully, but these errors were encountered: