5.4 Controlling memory expansion
5.4.1 Changing memory expansion parameters
Memory is automatically expanded under the following circumstances:- The dynamic semi-spaces are expanded whenever the desired ratio of free storage to total storage falls below the limit specified by the Reclamation Ratio parameter. If a garbage collection has not reached this ratio or a higher one, memory is expanded when the next garbage collection would normally occur. Each dynamic semi-space is expanded by the number of segments specified by the Memory Growth Rate parameter. Memory cannot expand beyond the maximum total size determined by the Memory Growth Limit parameter.
- The reserved area is expanded when all of its storage space has been depleted. The area is expanded by the number of segments specified by the Reserved Growth Rate parameter.
You can change the parameters that control memory expansion by calling the functionchange-memory-management
with the appropriate keyword set to the desired value. You should attempt to establish flexible parameters; for example, if the growth rate is too small, memory expands too often. If the growth rate is too large, memory expands more than is needed by the Lisp process.
The User's Guide - 9 SEP 1996 Generated with Harlequin WebMaker