title: WPF ListView with many entries: System.OutOfMemoryException
body: <p>In my C# WPF application i have a List of objects with about 900000 entries.</p>
  
  <p>I want to display these entries in a List View. Therefor i create a new window like this:</p>
  
  <pre><code>    System.Windows.Window myWin = new System.Windows.Window();
      myWin.Content = new myResult();
      myWin.Title = "Result";
      myWin.Show();
  </code></pre>
  
  <p>The list is stored in the ViewModel. The XAML looks like:
  </p>
  
  <pre><code>        &lt;ListView
              x:Name="myListView"
              ItemsSource="{Binding ListSummary}"
              &gt;
  
              &lt;ListView.View&gt;
  ...
  </code></pre>
  
  <p>During the line <code>myWin.Show()</code> the program freezes and shows following exception: </p>
  
  <pre><code>Ein Ausnahmefehler des Typs "System.OutOfMemoryException" ist in PresentationCore.dll aufgetreten.
  </code></pre>
  
  <p>Is there a limitation in entries for the listview? I know 900000 entries seems to be very much but this is the common amount of entries in my business case.</p>