File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -31,6 +31,18 @@ This article details the settings you can use to configure threading in .NET.
3131| ** runtimeconfig.json** | N/A | N/A |
3232| ** Environment variable** | ` COMPlus_Thread_AssignCpuGroups ` or ` DOTNET_Thread_AssignCpuGroups ` | ` 0 ` - disabled<br />` 1 ` - enabled |
3333
34+ ## Set the size of stack for VM-created threads
35+
36+ - The default size of stack is dictated by VM and OS policies.
37+ - This setting allows overriding the default.
38+ - The specified size should be between 64 kB and 2 GB and a multiple of the natural allocation granularity of the OS.
39+
40+ | | Setting name | Values | Version introduced |
41+ | - | - | - | - |
42+ | ** runtimeconfig.json** | ` System.Threading.DefaultStackSize ` | A decimal integer that specifies the size of stack | .NET 10 |
43+ | ** Environment variable** | ` DOTNET_Thread_DefaultStackSize ` | A hexadecimal integer that specifies the size of stack | .NET 10 |
44+
45+
3446## Minimum threads
3547
3648- Specifies the minimum number of threads for the worker thread pool.
You can’t perform that action at this time.
0 commit comments