[System.OutOfMemoryException] {函数求值已禁用,因为出现内存不足异常。

[System.OutOfMemoryException] {函数求值已禁用,因为出现内存不足异常。

StringBuilder 赋值的时候超过内存的大小,要即时去清空文本的值。

也可能是DataSet暂用内存多大,要即时清空,即DataSet=null;

原文地址:https://www.cnblogs.com/zhian/p/7073389.html