Stack is a memory kept as a separate space for a particular thread execution. Today a person asked me what is the limit of stack for a particular thread in IIS. The answer is 256 KB. I collected the following information from By default, the maximum stack size of a thread that is created in a native IIS process is 256 KB By default, the maximum stack size of a thread that is created by a native Microsoft Internet Information Services (IIS) process is 256 KB. For example, Inetinfo.exe, DLLHost.exe, or W3wp.exe creates a thread, the maximum stack size of the thread is 256 KB by default. If your thread crosses this limit you will encounter the stackoverflow error.
What kind of email newsletter would you prefer to receive from CodeAsp.Net?