我必須從數據庫中提取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