Returns the difference between the top of the Lisp heap and a maximum memory limit in 32-bit LispWorks.
If a limit on the maximum memory has been set by
set-maximum-memory
, then
memory-growth-margin
returns the difference between the current top of the Lisp heap and that limit. That is, the amount by which the heap can grow.
Otherwise
memory-growth-margin
returns
nil
. This is the default behaviour.
Note:
memory-growth-margin
is implemented only in 32-bit LispWorks. It is not relevant to the Memory Management API in 64-bit implementations.