title: SSRS - OutOf MemoryException - is there a limit to the number of rows that can be displayed
body: <p>I have created an rdl doc that points at a proc that returns 90 000 rows and I am getting an out of memory exception.  Is there a limit to how many rows the report projects can handle?</p>
  
  <p>Currently I have changed the proc that drives my report to just do a select Top 90 000.  My specs are to be able to create a report with 120 000 rows.  My report is a matrix.</p>
  
  <p>I swear last week I generated a report that has 106800 rows in it but now all of sudden I can't. </p>
  
  <p>I have written a rendering extension and here is part of the exception when I step into the code.</p>
  
  <blockquote>
    <p>eInfo: 2/12/2009 12:03:53
    PM    prairieFyre.ReportActions.RenderReport: Error rendering report
    Microsoft.Reporting.WinForms.LocalProcessingException: An error
    occurred during local report processing. --->
    Microsoft.ReportingServices.ReportProcessing.ReportProcessingException:
    An unexpected error occurred in Report Processing. --->
    System.OutOfMemoryException: Exception of type
    'System.OutOfMemoryException' was thrown.    at
    System.IO.MemoryStream.set_Capacity(Int32 value)    at
    System.IO.MemoryStream.EnsureCapacity(Int32 value)    at
    System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
    at System.IO.BinaryWriter.Write(String value)    at
    Microsoft.ReportingServices.ReportProcessing.Persistence.IntermediateFormatWriter.ReportServerBinaryWriter.WriteString(String
    stringValue) ....</p>
  </blockquote>