You can ordinarily rewrite your program so as to use iteration rather than
recursion.
That's probably a better idea. I don't know about clisp specifically, but
I assume that you could also enlarge the stack. Maybe someone else will
explain how
RJF
> -----Original Message-----
> From: maxima-bounces at math.utexas.edu
> [mailto:maxima-bounces at math.utexas.edu] On Behalf Of Martin DRUON
> Sent: Thursday, June 14, 2007 8:47 AM
> To: maxima at math.utexas.edu
> Subject: clisp stack overflow
>
> hi,
>
> I would like to know if it's possible to change the amount of
> memory reserved for maxima (or reserved for clisp) because
> when I run a simple program onto a list (only 3,844 elements
> !!!) it craches and return a "stack overflow Lisp" (but it
> works for 3,600 elements) !
>
> Can I change the amount of memory directly in maxima ? if
> isn't, how I can change the call to clisp at the begining of
> maxima to increase the amount of memory (I read that the
> default value for clisp is 2MB !) ?
>
> thaks a lot
>
> Martin
>
>
> _______________________________________________
> Maxima mailing list
> Maxima at math.utexas.edu
> http://www.math.utexas.edu/mailman/listinfo/maxima
>