Windows behavior for Threads

Alan Bateman Alan.Bateman at oracle.com
Thu Jan 4 18:01:05 UTC 2024


On 04/01/2024 15:57, Viraj Shetty wrote:
>
> :
>
> Does windows not allocate the 1M stack memory per thread upfront ? 
> Does windows not have upper limit to process memory (It was using 5G 
> memory) ? And how is the java process continuously creating platform 
> threads when the machine memory is maxed out ?
>
> Any insight on this behavior is appreciated – though these look more 
> like Windows questions.
>

I read Mark Russinvich's blog on "Pushing the limits of Windows: 
Processes and Threads" [1] a few years ago and found it useful to 
understand what Windows reserves and commits.

-Alan

[1] 
https://techcommunity.microsoft.com/t5/windows-blog-archive/pushing-the-limits-of-windows-processes-and-threads/ba-p/723824
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/loom-dev/attachments/20240104/efa171ba/attachment.htm>


More information about the loom-dev mailing list