All Manuals > LispWorks® User Guide and Reference Manual > 47 The SYSTEM Package

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 the function 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 behavior.

Notes

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
11.3 Memory Management in 32-bit LispWorks


LispWorks® User Guide and Reference Manual - 01 Dec 2021 19:31:02