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

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


LispWorks User Guide and Reference Manual - 20 Sep 2017

NextPrevUpTopContentsIndex