我使用 ionic zip (version-1.9.1.8) 来压缩一些文件..我通常有总和为 2 到 3 GB 的大文件...这个 ionic zip 在我的系统中工作正常,但是当我在另一台用户机器上使用它时(ONSITE )...这个 ionic zip 抛出异常如下。两个系统的配置是相同的。
Exception details:
******************
[6/11/2012 01:21:38:812]
System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.
at Ionic.Zip.ZipEntry._WriteEntryData(Stream s)
at Ionic.Zip.ZipEntry.Write(Stream s)
at Ionic.Zip.ZipFile.Save()
at Ionic.Zip.ZipFile.Save(String fileName)
at MyCode.SaveZipFile()
[6/11/2012 01:21:38:828]
System.NullReferenceException: Object reference not set to an instance of an object.
at Ionic.Zlib.ParallelDeflateOutputStream._Flush(Boolean lastInput)
at Ionic.Zlib.ParallelDeflateOutputStream.Close()
at Ionic.Zlib.ParallelDeflateOutputStream.Dispose()
at Ionic.Zip.ZipFile.Dispose(Boolean disposeManagedResources)
at Ionic.Zip.ZipFile.Dispose()
at Mycode.SaveZipFile()
at Mycode.SaveLogs()
有人可以帮我找到这些问题的原因..?
提前致谢