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.