This function can be used when the system would otherwise allocate additional static segments. Such additional segments would cause the application to grow irreversibly.
size is the amount (in bytes) by which the static segment is to be enlarged. It is rounded up to a multiple of 64K.
result is t
if the static segment was successfully enlarged, and nil
otherwise.
Use room, with argument t
, to find the size of the static segments, and thus the size by which to enlarge the first static segment.
enlarge-static
is implemented only in 32-bit LispWorks. It is not relevant to the Memory Management API in 64-bit implementations, where the irreversible growth problem described above does not exist.
in-static-area
room
set-default-segment-size
switch-static-allocation
Memory Management in 32-bit LispWorks
LispWorks User Guide and Reference Manual - 13 Feb 2015