Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
damageboy
· 15y ago · 0 comments
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?
Comments
[–]
dap
15y ago
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.