1
Vote

Hangs on zipfile.save method

description

I am trying to zip the folder which is having so many sub folder and files in it and the size of root folder is more than 250 MB.
ZipFile zFile = new ZipFile();
zFile.UseZip64WhenSaving = Zip64Option.AsNecessary;
zFile.AddDirectory(folderPath);
zFile.Save(zipFileName);

It gets stuck on save method.

Please suggest the solution.

comments