Mitigation to prevent deadlock on running out of disk space

May 12, 2010 at 9:20 PM

I ran into an issue when using the ZipFile.Save() function and testing the exceptional condition of running out of disk space. I believe the default multithreaded functionality was causing a deadlock issue to occur. ParallelDeflateOutputStream.Write was stuck on Monitor.Wait. Turning off multithreading (Setting ZipFile.ParallelDeflateThreshold to -1) fixed this behavior by throwing an IOException as originally expected. I wanted to share this experience in case any one else runs into this.

 

Thanks,

Bill

 

Coordinator
May 13, 2010 at 1:08 PM

Thanks Bill.

you from Pittsburgh?  me too.  Bummer about the Pens.

Coordinator
May 13, 2010 at 1:08 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.