title: Always get exception when trying to Fill data to DataTable
body: <p>The code below is just a test to connect to an Oracle database and fill data to a DataTable.  After executing the statement <strong>da.Fill(dt);</strong>, I always get the exception</p>
  
  <blockquote>
    <p>"Exception of type 'System.OutOfMemoryException' was thrown."</p>
  </blockquote>
  
  <p>Has anyone met this kind of error? My project is running on VS 2005, and my Oracle database version is 11g. My computer is using Windows Vista. If I copy this code to run on Windows XP, it works fine.</p>
  
  <p>Thank you.</p>
  
  <pre><code>using System.Data;
  using Oracle.DataAccess.Client;
  
  ...
  
  string cnString = "data source=net_service_name; user id=username; password=xxx;";
  OracleDataAdapter da = new OracleDataAdapter("select 1 from dual", cnString);
  
  try
  {
     DataTable dt = new DataTable();
     da.Fill(dt);  // Got error here
     Console.Write(dt.Rows.Count.ToString());
  
  }
  catch (Exception e)
  {
     Console.Write(e.Message); // Exception of type 'System.OutOfMemoryException' was thrown.
  }
  </code></pre>
  
  <p><strong>Update</strong> </p>
  
  <p>I have no idea what happens to my computer. I just reinstall Oracle 11g, and then my code works normally.</p>