Maximum stack space

According https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Multithreading/CreatingThreads/CreatingThreads.html maximum stack size is 512 KB for secondary threads, 8 MB for OS X main thread and 1 MB for iOS main thread. Can someone tell actual information about maximum stack size on different OS?

Can someone tell actual information about maximum stack size on different OS?

That’s a very general question, and thus hard to answer completely. If you can explain more about why this matters to you, I should be able to offer specific advice.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

I have recently started studying Swift and iOS, and would like to learn more about the system and the distinctive features of development for different devices. In the latest WWDS videos, it was also said about the global memory area. Approximate memory sizes of these areas, global and stack, would help developers better understand the limits of their use, cases of reallocation to the heap, especially for new devices of the Apple system.

Maximum stack space
 
 
Q