Closed vakker closed 3 years ago
I traced the issue to PL_get_chars
, which crashes after a large number of query results.
Does that come from libswipl
?
Edit: Yes, and it crashes at this line.
Saw this, don't know if it is relevant but better to have seen it and decide than not.
https://github.com/SWI-Prolog/swipl-devel/commit/ab1a13845ef5ff8c7797c2c6c7d4a86890311e99
I have a large database (817718 facts) in the form of:
When I try to run:
then is crashes with:
Also, if instead of
print(r)
I just putpass
, it crashes as well.If I do the same in Prolog then is succeeds without any issues:
If I use
findall
in Python, like:then it crashes as well.
With a smaller database this doesn't happen. Any ideas?