NextPrevUpTopContentsIndex

memory-growth-margin

Function
Summary

Returns the difference between the top of the Lisp heap and a maximum memory limit in 32-bit LispWorks.

Package

system

Signature

memory-growth-margin => result

Values

result

An integer address, or nil .

Description

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.

See also

set-maximum-memory


LispWorks Reference Manual - 20 Jul 2006

NextPrevUpTopContentsIndex