[
  {
    "Id": "256663",
    "ThreadId": "74997",
    "Html": "<p><span style=\"font-size:x-small\">\r\n<p>Hi Cheeso,</p>\r\n<p>Is there a way of turning off the implicit multithreadeed operation in 1.9.0.29 and future releases via some property?</p>\r\n<p>Apologies if this is documented, but I also thought you may be interested in the results I have seen.</p>\r\n<p>If not please can you consider&nbsp;implementing it otherwise I will be stuck at versions prior to 1.9.0.29</p>\r\n<p>Here's why.</p>\r\n<p>I am running sql 2000 Data Transformation Service package (&nbsp; so I'm in VBScript and taditional ADO :-(&nbsp;&nbsp; ) that basically fires stored procedures saves the results to a text file then zips the report and deletes the&nbsp;text&nbsp;file.</p>\r\n<p>This dts package is utilising dts threading capability and is currently running 10 threads to generate these reports and happens every day. I am using your library to Zip the generated report to save on ever growing disk space.</p>\r\n<p>I have been getting ready to install your library to production and running our processes on a uat test box for about a week.</p>\r\n<p>I ran all my perf tests and dev tests under 1.9.0.23 and saw the new version and thought great - I'll use that it should help to speed things up. -even though I was getting very reasonable perf anyway.</p>\r\n<p>This is running on an old server HP Proliant DL380 G3 Dual Xeon 2800 with 3Gb Ram.</p>\r\n<p>(I'm sure my use of Sql 2000 DTS threading and the libraries use of threading is having the ill effects seen below)</p>\r\n<p>Interstingly on batches run under 1.9.0.29 I had lots of errors of the same type on calling the save operation: &quot;Exception of type 'System.OutOfMemoryException' was thrown.&quot; unfortunately i can give you any more error information i only have err.description</p>\r\n</span></p>\r\n<table border=1 cellspacing=0 cellpadding=0>\r\n<tbody>\r\n<tr>\r\n<th colspan=2>Batch</th><th>DotNetZip</th><th>ReportCount</th><th>ReportsSizeMb</th><th>ReportsZipSizeMb</th><th>TotalZipDurationMin</th><th>BatchTimeMin</th><th>MemoryExceptions</th>\r\n</tr>\r\n<tr>\r\n<td>13-Nov</td>\r\n<td>10</td>\r\n<td>1.9.0.23</td>\r\n<td>1104</td>\r\n<td>821</td>\r\n<td>80</td>\r\n<td>7</td>\r\n<td>47</td>\r\n<td>0</td>\r\n</tr>\r\n<tr>\r\n<td>12-Nov</td>\r\n<td>9</td>\r\n<td>1.9.0.23</td>\r\n<td>1104</td>\r\n<td>1056</td>\r\n<td>102</td>\r\n<td>15</td>\r\n<td>52</td>\r\n<td>0</td>\r\n</tr>\r\n<tr>\r\n<td>11-Nov</td>\r\n<td>8</td>\r\n<td>1.9.0.23</td>\r\n<td>1104</td>\r\n<td>1033</td>\r\n<td>99</td>\r\n<td>10</td>\r\n<td>47</td>\r\n<td>0</td>\r\n</tr>\r\n<tr>\r\n<td>10-Nov</td>\r\n<td>7</td>\r\n<td>1.9.0.23</td>\r\n<td>1104</td>\r\n<td>1028</td>\r\n<td>36</td>\r\n<td>10</td>\r\n<td>47</td>\r\n<td>0</td>\r\n</tr>\r\n<tr>\r\n<td><strong>09-Nov</strong></td>\r\n<td><strong>6</strong></td>\r\n<td><strong>1.9.0.29</strong></td>\r\n<td><strong>1104</strong></td>\r\n<td><strong>1035</strong></td>\r\n<td><strong>38</strong></td>\r\n<td><strong>114</strong></td>\r\n<td><strong>107</strong></td>\r\n<td><strong>80</strong></td>\r\n</tr>\r\n<tr>\r\n<td><strong>06-Nov</strong></td>\r\n<td><strong>5</strong></td>\r\n<td><strong>1.9.0.29</strong></td>\r\n<td><strong>1104</strong></td>\r\n<td><strong>900</strong></td>\r\n<td><strong>43</strong></td>\r\n<td><strong>370</strong></td>\r\n<td><strong>108</strong></td>\r\n<td><strong>431</strong></td>\r\n</tr>\r\n<tr>\r\n<td><strong>05-Nov</strong></td>\r\n<td><strong>4</strong></td>\r\n<td><strong>1.9.0.29</strong></td>\r\n<td><strong>1104</strong></td>\r\n<td><strong>1025</strong></td>\r\n<td><strong>46</strong></td>\r\n<td><strong>761</strong></td>\r\n<td><strong>107</strong></td>\r\n<td><strong>77</strong></td>\r\n</tr>\r\n<tr>\r\n<td>04-Nov</td>\r\n<td>3</td>\r\n<td>N/A</td>\r\n<td>1104</td>\r\n<td>1026</td>\r\n<td>N/A</td>\r\n<td>N/A</td>\r\n<td>43</td>\r\n<td>N/A</td>\r\n</tr>\r\n<tr>\r\n<td>03-Nov</td>\r\n<td>2</td>\r\n<td>N/A</td>\r\n<td>1104</td>\r\n<td>1034</td>\r\n<td>N/A</td>\r\n<td>N/A</td>\r\n<td>43</td>\r\n<td>N/A</td>\r\n</tr>\r\n<tr>\r\n<td>02-Nov</td>\r\n<td>1</td>\r\n<td>N/A</td>\r\n<td>1104</td>\r\n<td>1039</td>\r\n<td>N/A</td>\r\n<td>N/A</td>\r\n<td>44</td>\r\n<td>N/A</td>\r\n</tr>\r\n</tbody>\r\n</table>\r\n<p>Many thanks</p>\r\n<p>Matt</p>",
    "PostedDate": "2009-11-13T02:40:12.15-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "256704",
    "ThreadId": "74997",
    "Html": "<p>Wow, that's pretty unhelpful.</p>\r\n<p>You can turn off threading in the library via the ParallelDeflateThreshold property, on the ZipFile or on the ZipOutputStream.&nbsp; Set that property to -1 to get the single-threaded behavior.</p>\r\n<p>&nbsp;</p>",
    "PostedDate": "2009-11-13T04:57:55.613-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "256719",
    "ThreadId": "74997",
    "Html": "<p>Great Thanks.</p>\r\n<p>Whats not helpful?&nbsp; -- the feedback?</p>",
    "PostedDate": "2009-11-13T05:19:37.753-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "256771",
    "ThreadId": "74997",
    "Html": "<p>no - heh heh,&nbsp; I mean it's unhelpful of DotNetZip to run so long,&nbsp; It's not faster at all.</p>\r\n<p>ps: the reason you get memory exceptions is that the parallel deflating allocates a bunch of memory buffers.&nbsp; That can be large if you run a bunch all at once.</p>\r\n<p>let me know how it turns out for you.</p>\r\n<p>Thanks for reporting this, your feedback is <em>helpful</em>.</p>",
    "PostedDate": "2009-11-13T07:08:58.577-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "257302",
    "ThreadId": "74997",
    "Html": "<p>Ah - No dotnetzip is a marvelous thing, as u can see compressing&nbsp; ~1gig by 90% and only adding ~4mins to my batch reporting exec time. happy days!!!</p>\r\n<p>Many thanks for your great efforts</p>",
    "PostedDate": "2009-11-15T12:36:10.983-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  },
  {
    "Id": "257465",
    "ThreadId": "74997",
    "Html": "<p>Glad you like it.</p>",
    "PostedDate": "2009-11-16T04:30:28.927-08:00",
    "UserRole": null,
    "MarkedAsAnswerDate": null
  }
]