3 ms·
What a load of crap... you just wasted 2gb of address space not of DRAM... You'll "waste" exactly up to the amount of stack each thread uses, rounded up to PAGE
by damageboy 15y ago
What a load of crap...
you just wasted 2gb of address space not of DRAM...
You'll "waste" exactly up to the amount of stack each thread uses, rounded up to PAGE_SIZE which is usually 4kb
Let me guess, a nodejs fan?
- dap 15y agoYou're right -- it's the touched pages that count. In many cases, that's a few MB per stack, which is what I said.