[Ecls-list] how to build Ecl with preset higher memory bounds

Juan Jose Garcia-Ripoll juanjose.garciaripoll at googlemail.com
Sun Jan 23 21:53:17 UTC 2011


On Sun, Jan 23, 2011 at 10:17 PM, Juan Jose Garcia-Ripoll <
juanjose.garciaripoll at googlemail.com> wrote:

> $ cat maxima.lisp
> (format t ";;; Frame stack limit ~D"
>         (ext:set-limit 'ext:frame-stack (expt 2 14)))
> (format t "~%;;; Binding stack limit ~D"
>         (ext:set-limit 'ext:binding-stack (expt 2 17)))
> (format t "~%;;; C stack limit ~D"
>         (ext:set-limit 'ext:c-stack (expt 2 22)))
> (format t "~%;;; Heap size limit ~D"
>         (ext:set-limit 'ext:heap-size (expt 2 30)))
> (format t "~%;;; Lisp stack limit ~D~%;;;"
>         (ext:set-limit 'ext:lisp-stack (expt 2 18)))
>

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

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20110123/b14fc808/attachment.html>


More information about the ecl-devel mailing list