Skip to content →

Date archive for: February 2008

Getting used heap space in Allegro CL (and other Lisps)

If you’re running experiments in Lisp and want to know the total amount of memory currently in use (i.e., by live objects), it’s much less straightforward than you might think. The following code gets this number in a handful of…