Hi,
I am having this error, using prolog from python. In stackoverflow it says that, I could call the below command
swipl -G100g -T20g -L2g
or I could add the below lines.
:- set_prolog_stack(global, limit(100000000000)).
:- set_prolog_stack(trail, limit(20000000000)).
:- set_prolog_stack(local, limit(2000000000)).
None of them solved the problem in my case.
I found out the problem occurs due to a variable MAX_LG_STACKED_STRINGS which is set to 20. The related files are:
src/os/pl-buffer.h and src/os/pl-buffer.h
Can you please help me how to solve this problem? I do not have a C compiler? What should I update?
Many thanks,
Ferda