Stack Management Attributes
The stack allocation attributes define one of two different stack management policies, either system-managed or user-managed.
If the system allocates and manages a thread’s stack, the two significant attributes are:
Stack Reserve Size — The amount of virtual address space to
reserve for the stack.
Stack Commit Size — The amount of physical memory and pagefile space to initially commit to the stack.
If the user application allocates and manages a thread’s stack, the relevant attributes include:
User Stack Address — The lowest address or bottom of the stack address space reserved, allocated, and managed by the user.
User Stack Size — The memory space size of the user-allocated stack. Locates the top of the stack address space where the bottom of the stack is typically located (for stacks that grow downward in memory).
For more information on these attributes, see
Stack Attributes.