Re:Networking I/O with Virtual Threads – Under the hood
by fulafel on Thursday July 08, 2021 @02:45AM
(#27769023)
A million threads is a lot, but the reasonable limit is more like 100k idle threads than a few thousand, on 64-bit Linux.
[ Parent
| on HN ]
Re:Networking I/O with Virtual Threads – Under the hood
by MichaelMoser123 on Thursday July 08, 2021 @12:13PM
(#27773973)
if you get to a very high number of cooperative threads, then each such thread will have a very small stack (otherwise the OOM killer will get you). i am not sure that you can impose such limitations on the stack size in java.