title: .NET stack memory limit
body: <p>I am using C#, .NET 4.0, 64-bit. I need to store in memory 500 million "data points" that are used in computations. I need to decide whether to create these as struct or class objects. Structs seem so much faster.</p>
  
  <p>Is there a memory limit for the stack? If so, how can it be adjusted.</p>
  
  <p>Will storing so much data on a stack affect the overall performance of the system?</p>
  
  <p>(By the way, I am aware of the single-object size limitation in .NET, so that's being addressed -- the data will be stored in multiple collections).</p>