On Sun, Jan 23, 2011 at 10:17 PM, Juan Jose Garcia-Ripoll <
juanjose.garciarip...@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
------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
Ecls-list mailing list
Ecls-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecls-list

Reply via email to