[delphizip] Max ZIP file size

  • From: "Sampath N" <sampath_n@xxxxxxxx>
  • To: <delphizip@xxxxxxxxxxxxx>
  • Date: Thu, 28 Mar 2002 22:13:06 +0530

Hi all,

I was trying to find the max size of the ZIP file that DelZip could create.

I did some tests with big zipping operations. To reduce testing time I mostly 
used less compression levels. In the tests, I found that for some zipping 
operations(I think when SizeToBeCompressed is huge), the progressbar(total 
progress) didn't correctly displayed(it was either at 0% or at 100% at any 
time).

I did the following tests:
(ZipDLL used: Version 1.6.0.17    DelZip used: Version 1.6N    OS used: 
WinXP,Win2000)


      Test
      No. No. of files
      compressed Compress
      Level Correct
      Progressbar ZIP file size Result Size to be
      compressed 
      1 8774 0 Yes 1.17 GB Success 1.17 GB 
      2 8774 2 Yes 615 MB Success 1.17 GB 
      3 13815 1 No 1.76 GB Success 2.63 GB 
      4 13815 6 No 1.72 GB Success 2.63 GB 
      5 215 1 Yes 969 MB Success 985 MB 
      6 14676 1 No - Failure 3.4 GB 
      7 14676 0 No - Failure 3.4 GB 
      8 6844 1 Yes 292 MB Success 673 MB 
      9 7832 0 No - Failure 2.74 GB 
      10 14519 1 No 1.81 GB Success 2.73 GB 
      11 17406 1 No - Failure 4.1 GB 
      12 17087 1 No - Failure 3.9 GB 
      13 17064 1 No 1.9 GB Success 2.9 GB 
      14 17064 0 No - Failure 2.9 GB 


Success: ZIP file created.
Failure: Aborted with "Error reading a file"
(I think the aborting took place when the processed size exceeded 2 GB)


From the above tests,
My understanding is that the max size of ZIP file possible with DelZip is 2 GB 
(refer TestNo 13,14).

It also indicates(refer TestNo 3,4) that a higher compression level doesn't 
give much improvement. (But it may vary depending on the file types compressed, 
I am not sure about that)

I guess this has helped.


Regards,
Sampath

Other related posts: