The function returns the previous settings of minimum-for-sweep
, maximum-overflow
and minimum-overflow
. (see set-gc-parameters for details of these.)
avoid-gc
sets various internal parameters so that garbage collection is avoided as far as possible.
This can be useful with non-interactive programs.
If you use avoid-gc
, use normal-gc later to reset the parameters to their default settings.
avoid-gc
is implemented only in 32-bit LispWorks. It is not relevant to the Memory Management API in 64-bit implementations. In 64-bit implementations, you can use set-default-segment-size to increase the default size of segments in the lower generations (typically generations 0 and 1. This will lead to less frequent garbage collections.
gc-if-needed
normal-gc
set-gc-parameters
set-default-segment-size
without-interrupts
Memory Management in 32-bit LispWorks
LispWorks User Guide and Reference Manual - 13 Feb 2015