字符串过大导致抛出异常: exceptopm of type 'system.outOfmemoryexception' was thrown 解决方法:逐块写入可以避免这个问题 转载于:https://www.cnblogs.com/marisen/p/10563229.html