I wanted to run out of the stack memory (1 Mb) by creating this:
List<int> list = new List<int>(262144+1);
However I didn't receive any exceptions, though the Visual Studio memory profiler says I'm using 9 Mb of memory. So where was this memory allocated?