System.OutOfMemoryException
来源:互联网 发布:淘宝发错货发了个贵的 编辑:程序博客网 时间:2024/05/16 18:22
处理报表时出错。引发类型为“System.OutOfMemoryException”的异常。
在数据查询时一次性放入datatable 大概220000条,但绑定到数据时就出现以上错误!!
this.ReportViewer1.LocalReport.ReportPath = Server.MapPath("../statistics/Template/") + ReportName + ".rdlc";
this.ReportViewer1.LocalReport.DataSources.Clear();
ReportDataSource rds = new ReportDataSource(ReportName, dt);
dt.Dispose();
this.ReportViewer1.LocalReport.DataSources.Add(rds);
this.ReportViewer1.LocalReport.Refresh();
this.ReportViewer1.Dispose();
GC.Collect();
在数据查询时一次性放入datatable 大概220000条,但绑定到数据时就出现以上错误!!
this.ReportViewer1.LocalReport.ReportPath = Server.MapPath("../statistics/Template/") + ReportName + ".rdlc";
this.ReportViewer1.LocalReport.DataSources.Clear();
ReportDataSource rds = new ReportDataSource(ReportName, dt);
dt.Dispose();
this.ReportViewer1.LocalReport.DataSources.Add(rds);
this.ReportViewer1.LocalReport.Refresh();
this.ReportViewer1.Dispose();
GC.Collect();
- System.OutOfMemoryException
- System.OutOfMemoryException
- System.OutOfMemoryException
- System.OutOfMemoryException
- System.OutOfMemoryException
- System.OutOfMemoryException
- .Net System.OutOfMemoryException
- System.OutOfMemoryException处理
- System.OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常
- 解决'System.OutOfMemoryException' 的问题
- .Net 内存溢出(System.OutOfMemoryException
- Exception of type System.OutOfMemoryException was thrown.
- 引发类型为System.OutOfMemoryException的异常
- 引发类型为“System.OutOfMemoryException”的异常。
- Exception of type 'System.OutOfMemoryException' was thrown
- .net 中的bug:System.OutOfMemoryException At System.String.GetStringForStringBuilder
- 处理Exception of type System.OutOfMemoryException was thrown
- 解決 ASP.NET 中 System.OutOfMemoryException 的問題
- Java之线程的使用!...
- c#如何退出程序
- Berkeley DB Java Edition 使用手册
- 替换ubuntu源加快更新速度
- iPad用户体验准则
- System.OutOfMemoryException
- Ubuntu下MyEclipse 8.5 8.6下载与 安装
- Sizeof与Strlen的区别与联系
- svn 提交时报 403 Forbidden
- cygwin 的vim设置
- delphi 取系统当前时间函数
- JPA核心API-基于Hibernate实现
- 迈克菲收购NitroSecurity提供更为安全的服务
- 【Deep C (and C++)】深入理解C/C++(3)