Open lbuczkow opened 2 years ago
@lbuczkow hello! The issue is that you are running out of space in the prolog vector (initialized here). You can increase the size by calling the prolog-memory
function: (prolog-memory 1e5)
But even when I do that, I get the same failure when running your code (it just takes longer, and it fails when trying to access index 100000
), so it seems the code never terminates?
I have been playing with Prolog in shen-scheme-v0.27.1-macOS. The encountered issue seems to be related to this line in make.shen:
But why does it occur? The number of solutions returned by the query is far below the limit.