且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

报表查看器在导出到 excel 时抛出内存不足异常错误

更新时间:2023-10-16 08:46:52

上网多看,发现 32 位 (x86) 应用程序最多只使用 1.8 GB 内存,每个应用程序将共享.生成报告时超出内存限制导致内存不足异常.

After more surfing on the net, found that 32 bit(x86) application uses only maximum of 1.8 GB of memory will be shared for each application. while generating report it crosses the memory limit and leads to out of memory exception.

尝试在 x64 中运行该应用程序并生成报告,没有任何异常.

Tried to run the application in x64 and report is generated without any exceptions.