title: How to change stack size for a .NET program?
body: <p>I have a program that does recursive calls for 2 billion times and the stack overflow. I make changes, and then it still need 40K recursive calls. So I need probably several MB stack memory. I heard the stack size is default to 1MB. I tried search online. Some one said to go properties ->linker .........in visual studio, but I cannot find it.</p>
  
  <p>Does anybody knows how to increase it? Also I am wondering if I can set it somewhere in my C# program?</p>
  
  <p>P.S. I am using 32-bit winXP and 64bit win7.</p>