G
Guest
Hi,
I have been using the new GZipStream classes, and have been experiencing
problems when attemping to decompress files, which from experience, seem to
be failing when the original file size exceeds something like 64 MB.
For example, when I attempt to decompress a text file of size 1.18 MB to its
original size of 106 MB, I receive the following error message:
System.IO.IOException: Insufficient system resources exist to complete the
requested service.
Source: mscorlib
StackTrace: " at System.IO.__Error.WinIOError(Int32 errorCode, String
maybeFullPath)\r\n at System.IO.FileStream.WriteCore(Byte[] buffer, Int32
offset, Int32 count)\r\n at System.IO.FileStream.Write(Byte[] array, Int32
offset, Int32 count)\r\n at %MethodName% in %SourceFilePath%:line 96"
TargetSite: {Void WinIOError(Int32, System.String)}
However, it works perfectly fine for files of an original size which is,
approximately, less than 64 MB in size.
Can anyone kindly provide any assistance as to whether there is a solution,
or whether there is just a flaw in the class?
Thanks
I have been using the new GZipStream classes, and have been experiencing
problems when attemping to decompress files, which from experience, seem to
be failing when the original file size exceeds something like 64 MB.
For example, when I attempt to decompress a text file of size 1.18 MB to its
original size of 106 MB, I receive the following error message:
System.IO.IOException: Insufficient system resources exist to complete the
requested service.
Source: mscorlib
StackTrace: " at System.IO.__Error.WinIOError(Int32 errorCode, String
maybeFullPath)\r\n at System.IO.FileStream.WriteCore(Byte[] buffer, Int32
offset, Int32 count)\r\n at System.IO.FileStream.Write(Byte[] array, Int32
offset, Int32 count)\r\n at %MethodName% in %SourceFilePath%:line 96"
TargetSite: {Void WinIOError(Int32, System.String)}
However, it works perfectly fine for files of an original size which is,
approximately, less than 64 MB in size.
Can anyone kindly provide any assistance as to whether there is a solution,
or whether there is just a flaw in the class?
Thanks