On Sun, Jan 23, 2011 at 10:17 PM, Juan Jose Garcia-Ripoll <span dir="ltr"><<a href="mailto:juanjose.garciaripoll@googlemail.com">juanjose.garciaripoll@googlemail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div id=":1pq">$ cat maxima.lisp<br>
(format t ";;; Frame stack limit ~D"<br> (ext:set-limit 'ext:frame-stack (expt 2 14)))<br>(format t "~%;;; Binding stack limit ~D"<br> (ext:set-limit 'ext:binding-stack (expt 2 17)))<br>
(format t "~%;;; C stack limit ~D"<br> (ext:set-limit 'ext:c-stack (expt 2 22)))<br>(format t "~%;;; Heap size limit ~D"<br> (ext:set-limit 'ext:heap-size (expt 2 30)))<br>(format t "~%;;; Lisp stack limit ~D~%;;;"<br>
(ext:set-limit 'ext:lisp-stack (expt 2 18)))<br></div></blockquote></div><br>Oliver, before using this code, you might want to update ECL. There was a typo in the implementation of SET-LIMIT and the EXT:FRAME-STACK option was not working properly. It is fixed in CVS/git<br>
<br>Juanjo<br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com" target="_blank">http://juanjose.garciaripoll.googlepages.com</a><br>