All,
I'm trying to figure out why on occasion my production web site throws a System.OutofMemory Exception. It seems to happen when my users are returning a dataset with over 40,000 rows by 14 columns.
Just a little background. Users can search for records and those records are returned in an Asp:GridView control. There is an Asp:ObjectDataSource on the page which will go out and get the records. The EnableViewState of both the data source and grid are set to False. When users don't limit their search parameters and return 40,000+ records the page will usually fail and I will see an Out of Memory exception.
Anyone know what is the approx limit of records a dataset can handle (or even that a grid view can handle)?
I've brought up the solution of paging, but the users and the boss don't like it for reasons only they understand.
Any ideas?
Thanks,
-- Joe --
* Sine scientia ars nihil est
* Respondeat superior
I'm trying to figure out why on occasion my production web site throws a System.OutofMemory Exception. It seems to happen when my users are returning a dataset with over 40,000 rows by 14 columns.
Just a little background. Users can search for records and those records are returned in an Asp:GridView control. There is an Asp:ObjectDataSource on the page which will go out and get the records. The EnableViewState of both the data source and grid are set to False. When users don't limit their search parameters and return 40,000+ records the page will usually fail and I will see an Out of Memory exception.
Anyone know what is the approx limit of records a dataset can handle (or even that a grid view can handle)?
I've brought up the solution of paging, but the users and the boss don't like it for reasons only they understand.
Any ideas?
Thanks,
-- Joe --
* Sine scientia ars nihil est
* Respondeat superior