I am creating a zip file the code below
ZipArchive MyZipArchive = System.IO.Compression.ZipFile.Open(@"c:\ZipProject\Test.zip", ZipArchiveMode.Update);
I then add files to the zip as below. There are around 10 files in fielList with file size of 250 mb each
foreach (string f in fileList)
{
MyZipArchive.CreateEntryFromFile(f,Path.GetFileName(f),CompressionLevel.Fastest );
}
On the very first file I get OutOfMeomry Exception Is there anyway around adding large files to a zip? I have tried all compressions but the result is the same