{
  "WorkItem": {
    "AffectedComponent": {
      "Name": "",
      "DisplayName": ""
    },
    "ClosedComment": "not a real bug - inconsistent report. The callstack shown is impossible to generate with v1.9.1.5.  ",
    "ClosedDate": "2011-07-28T22:14:50.623-07:00",
    "CommentCount": 0,
    "Custom": null,
    "Description": "Hi,\n \nI'm using the build 1.9.1.5 and ZipFile throws OutOfMemoryException when I try to zip a folder containing 1013MB of files. (there is no inner zip file)\n \nThis is the callstack:\n \nException=System.OutOfMemoryException: Exception of type 'System.OutOfMemoryException' was thrown.\n   at System.IO.Compression.FastEncoderWindow..ctor()\n   at System.IO.Compression.FastEncoder..ctor(Boolean doGZip)\n   at System.IO.Compression.Deflater..ctor(Boolean doGZip)\n   at System.IO.Compression.DeflateStream..ctor(Stream stream, CompressionMode mode, Boolean leaveOpen, Boolean usingGZip)\n   at System.IO.Compression.DeflateStream..ctor(Stream stream, CompressionMode mode, Boolean leaveOpen)\n   at ionic.utils.zip.ZipEntry.get_CompressedStream()\n   at ionic.utils.zip.ZipEntry.WriteHeader(Stream s, Byte[] bytes)\n   at ionic.utils.zip.ZipEntry.Write(Stream s)\n   at ionic.utils.zip.ZipFile.Save()\n \nI'm running under Windows Server 2003, 32 bits. With 2BG of ram.\n \nThis is the code I use:\n \n using (ZipFile zip = new ZipFile(zipFullFileName))\n {\n    zip.AddDirectory(folder, true); // recurses subdirectories\n    zip.Save();\n }\n \nzipFullFileName refert to the Temp directory of Windows: C:\\Windows\\Temp\\MyZipFile.zip\n \nfolder contains 1GB of files. folder is also in the Temp directory of Windows.\n \nI can't see where I can change the compressionLevel as seen in other post.\n \nDoes 1GB is supported?\n \nIs it a known issue?\n \n \n \nPierre-Luc",
    "LastUpdatedDate": "2013-05-16T05:31:32.873-07:00",
    "PlannedForRelease": "",
    "ReleaseVisibleToPublic": false,
    "Priority": {
      "Name": "Low",
      "Severity": 50,
      "Id": 1
    },
    "ProjectName": "DotNetZip",
    "ReportedDate": "2011-07-28T10:13:48.747-07:00",
    "Status": {
      "Name": "Closed",
      "Id": 4
    },
    "ReasonClosed": {
      "Name": "Unassigned"
    },
    "Summary": "OutOfMemoryException on ZipFile.Save with big folder",
    "Type": {
      "Name": "Issue",
      "Id": 3
    },
    "VoteCount": 1,
    "Id": 13998
  },
  "FileAttachments": [],
  "Comments": [
    {
      "Message": "Finally, I found that it's not the size of the files the problem but the number of files.\r\nI removed a sub folder containing 38000 files --> 88MB and now it works.\r\n\r\nIs there a limitation on the number of file per zip or by folder?",
      "PostedDate": "2011-07-28T12:41:03.947-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2011-07-28T22:14:50.623-07:00",
      "Id": -2147483648
    },
    {
      "Message": "Thank you, I wasn't using the good dll :-(",
      "PostedDate": "2011-07-29T05:46:56.897-07:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-02-21T18:43:08.663-08:00",
      "Id": -2147483648
    },
    {
      "Message": "",
      "PostedDate": "2013-05-16T05:31:32.873-07:00",
      "Id": -2147483648
    }
  ]
}