This project is read-only.

Memory leak - easy to reproduce

Dec 9, 2014 at 12:55 PM
Edited Dec 9, 2014 at 1:30 PM
I am trying to extract 2500 Gzip archives (with a 0 byte txt file in each). The result of this is 500MB unmanaged memory usage that is never coming back. I am testing this with ANTS profiler.

I am only using these lines of code for each file:

sevenZipExtract = New SevenZipExtractor(f)
sevenZipExtract.ExtractArchive(strExtractPath)
sevenZipExtract.Dispose()
sevenZipExtract = Nothing

EDIT

__I tested the same with 7-zip manager and the project SharpCompress (https://sharpcompress.codeplex.com/) and those did not use any unmanaged resources.__