我必须从数据库中提取150K
记录。我正在使用da.Fill(ds,"Query")
及其投掷system.outofmemoryexception
。system.outofmemoryexception填充DataAdapter时?
Dim daGrid As New SqlDataAdapter(sqlcmd_q)
daGrid.Fill(dsGrid, "Query")
daGrid.Dispose()
我只需要这个数据表。我无法使用XML。因为我需要将此分配给MSChartControl以显示ScotterPlot。
有什么建议吗?
购买更多内存;) – w69rdy 2011-02-23 14:58:27
以合理的方式聚合数据... – 2011-02-23 15:01:12
这些记录有多大(以字节为单位)? – 2011-02-23 15:01:31