title: How to improve performance while adding huge data into Dictionary?
body: <p>How to improve memory usage and performance while adding 1000000 values into Dictionary in C#.</p>
  
  <p>While adding huge records I am getting "System out of Memory" Exception. </p>
  
  <p>Can anyone help on this.</p>
  
  <p>My Dictionary will be like below.</p>
  
  <pre><code>    Dictionary&lt;string, List&lt;string&gt;&gt;
  </code></pre>
  
  <p>Thanks in advance.</p>