title: DotNetZip unable to zip a huge number of entries
body: <p>I'm using dotnet zip in the following way:</p>
  
  <pre><code>using (ZipFile zip = new ZipFile(@"E:\test2.zip"))
  {
        zip.ParallelDeflateThreshold = -1;
        zip.UseZip64WhenSaving = Zip64Option.Always;
        zip.SaveProgress += SaveProgress;
        zip.AddDirectory(@"E:\Samples");
        zip.Save(@"E:\test2.zip");
  }
  </code></pre>
  
  <p>This code worked fine until I tried to zip a directory that hold close to 1 million files.</p>
  
  <p>The scenario:  </p>
  
  <p>1.
   If the files are rather heavy:</p>
  
  <p>The folder contains 928614 files in allot of sub directories, the complete folder size is 134GB but most of the files are only a few kb,  the biggest one is about 60 mb.</p>
  
  <p>the application gets stuck during the save operation around the file 870000. I know this by listening to the progress event.</p>
  
  <p>public  void SaveProgress(object sender, SaveProgressEventArgs e)
         {</p>
  
  <pre><code>    if (e.EntriesSaved != 0)
      {
          System.Console.WriteLine(e.EntriesSaved.ToString());
      }
  </code></pre>
  
  <p>I left the application running for an entire night and nothing happened, in one of the test runs the application crashed completely (it was like someone press CTRL F5 in the visual studio)</p>
  
  <p>I also tried to run the ZipIt.exe provided by the dotnetzip tools package and the same thing happened.</p>
  
  <p>2.If the files are very small (test purposes)</p>
  
  <p>The package contains 970000 files in allot of sub directories all the files are a txt file with the letter "a" ,the complete folder size is 1mb.</p>
  
  <p>the save operation goes through all the files (as i can see using the saveProgress event) 
  but in the end i get an <em>outofmemoryexception</em> .</p>
  
  <p>I also tried to run the ZipIt.exe provided by the dotnetzip tools package and in that case the operation completed successfully (So confusing!)</p>
  
  <p>Is there a max number of entires that dotnetzip supports? is there a work around?
  Thanks so much in advance.</p>