dotnetzip very very slow on Windows 2008 ServerR2

Jul 8, 2010 at 8:42 PM
Edited Jul 9, 2010 at 12:16 AM

Please Help.

I am using Ionic.zip.DLL ( 1.9 )for zipping files in my c# code. I am just refereing in my project to Ionic.Zip.Dll library.

 

Trying to zip file size 800MB takes 16 Mins on Windows server 2008 the same code on PC/Laptop takes 3 mins.

 

why is this very slow on Windows Server 2008.

 

Anyone had this problem please advice.

 

Thanking you in advance

 

Code Example:

 

 

 

 

 

using (ZipFile zip = new ZipFile())

{

 

zip.CompressionLevel = Ionic.Zlib.CompressionLevel.BestCompression;

zip.AddFile(zipSourcefile1);

 

zip.AddFile(zipSourcefile2);

 

zip.AddFile(zipSourcefile3);

 

zip.AddFile(zipSourcefile4);

 

 

 zip.Save(zipFileToCreate);

 

 

}