> On a server with 64GB of ram, that means you can't run more than ~64000 threads at once. That's not really a high number in the context of modern highly-concurrent servers.
Obviously the OS does not allocate megabytes of actual physical RAM to thread stacks, it's just address space. Just, this: