This variable determines the maximum size of the stack cache.
When a process dies, its stack is put in the stack cache for future reuse if there are currently less than
*default-stack-group-list-length*
stacks in the cache.
Increasing the value of this variable allows more process stacks to be cached and reused.
Note that stacks are allocated in generation 2, hence a program with a high turnover of processes may need to call
(mark-and-sweep 2)
periodically unless all the stacks of dead processes are reused.