Windows behavior for Threads

Andrew Haley aph-open at littlepinkcloud.com
Thu Jan 4 16:33:18 UTC 2024


On 1/4/24 15:57, Viraj Shetty wrote:
> Does windows not allocate the 1M stack memory per thread upfront ?

My knowledge of Windows is basically zero, but to add a little information
here: Linux doesn't allocate thread stack memory upfront either. The
OutOfMemoryError happens because the kernel limits the number of processes.

-- 
Andrew Haley  (he/him)
Java Platform Lead Engineer
Red Hat UK Ltd. <https://www.redhat.com>
https://keybase.io/andrewhaley
EAC8 43EB D3EF DB98 CC77 2FAD A5CD 6035 332F A671



More information about the loom-dev mailing list