Hi,
I was running this LISP software SHOP-2 (a HTN planner). In its readme
file it has the following lines:
"If you are using Allegro Lisp, and you encounter the following error
message
Error: Stack overflow (signal 1000)
[condition type: SYNCHRONOUS-OPERATING-SYSTEM-SIGNAL]
Then please use the following command to increase the stack limit.
(sys:set-stack-cushion 150000000)"
I am using clisp and it seems I am also running into stack overflow, i
am getting the error message
*** - Lisp stack overfow. Reset
But I am not able to use the command suggested by them to increase the
stack size. What is the ANSI standard command for increasing the stack
size? If there is none, then is there any clisp specific command for
doing that?
Thanks,
Surendra Singhi
See the CLISP FAQ:
http://clisp.cons.org/faq.html#stack
Since the CLISP VM is written in C, you have to increase it's stack
size allowance in the OS environment (ulimit on Unices). As you can
see, this is highly implementation and OS dependent, so there is no
ANSI CL command for changing stack size. Also, make sure that your
functions are compiled, as interpreting them uses up some stack
overhead.
Vladimir