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.