Windows typically sets a default stack size of 1MB for threads. In contrast, Linux commonly uses 8MB per thread, while macOS allocates 8MB for the main thread but only 512KB for new pthreads.
Open the full topic