allocated_cells ()
A list containing the number of allocated cells and the number of free cells currently held by the memory management system.
The memory management system allocates cells as required to continue execution, limited only by operating system memory. Once cells have been allocated, they are placed on the heap by the garbage collector and re-used. New cells are only allocated from the operating system if the garbage collector is unable to fulfill a request for more memory from the running Gamma or Lisp program. This function returns the number of cells which are currently in use, and the number of free cells remaining on the heap. The sum of these numbers is the total number of cells allocated by the interpreter.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.