All Manuals > LispWorks User Guide and Reference Manual > 10 Storage Management > 10.5 Common Memory Management Features

NextPrevUpTopContentsIndex

10.5.4 Allocation of stacks

Stacks are allocated directly in generation 2 because they are relatively expensive to promote. Therefore creating many processes will cause generation 2 to grow, even if these processes are short-lived.

The variable *default-stack-group-list-length* controls the number of stacks that are cached for reuse. Increase its value if your application repeatedly makes and discards more than 10 processes.


LispWorks User Guide and Reference Manual - 21 Dec 2011

NextPrevUpTopContentsIndex