logoalt Hacker News

abcd_f • yesterday at 8:27 PM • 1 reply • view on HN

In Windows, by default, thread's stack is capped at 1MB. Main thread gets more but that's somewhat off the point.


Replies

stickfigure • yesterday at 9:13 PM

Stack size is completely arbitrary, just like heap size. You have 2^64 addresses to work with.