Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

FastZip.ExtractZip hangs and fills the hard disk to maximum

$
0
0

 Hello,

We are using SharpZipLib.dll (0.84.0.1) to Zipping and Unzipping the contents of our project.

Recently we got hang issue while extracting zipped file using FastZip. Zipped file size is 4 MB, after 10 minutes also FastZip.ExtractZip was extracting the file and we have to kill the process via task manager.

If you allow it to continue it fills the hard disk(nearly 10GB of data is created by extarcting 4MB file).

Code for Zipping:

 

 

 

 

FastZip fastZip = new FastZip();
fastZip.CreateEmptyDirectories = true;
fastZip.CreateZip(m_SelectedFile, m_TempProjectPath, true, string.Empty);

Code for extracting:

FastZip fastZip = new FastZip();
fastZip.CreateEmptyDirectories = true;
fastZip.ExtractZip(m_SelectedFile, m_TempProjectPath, string.Empty);

 

I suspect that some issue occured while Zipping and while unzipping end of the file is not foun and extraction algorithm enters infinite loop.

Any support appreciated.

Regards,

Vinay

 

 

 

 

 


Viewing all articles
Browse latest Browse all 1764

Trending Articles