Hacker News new | ask | show | jobs
by damageboy 5365 days 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?

1 comments

You're right -- it's the touched pages that count. In many cases, that's a few MB per stack, which is what I said.