yuce / pyswip

PySwip is a Python - SWI-Prolog bridge enabling to query SWI-Prolog in your Python programs. It features an (incomplete) SWI-Prolog foreign language interface, a utility class that makes it easy querying with Prolog and also a Pythonic interface.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to clean prolog ?

Hemery-M opened this issue · comments

Okay, the title may not be exactly the problem but I have a strange bugs that appear when I try to solve multiple queries (more that 1000 but less than 300.000). At a point, Python just crashed and print

[FATAL ERROR: at Tue Dec 14
	Too many stacked strings]
Abandon (core dumped)

Each of the query is really fast but it seems that stacking them without properly clean the prolog part leads to this failure !