Memory leak - easy to reproduce

Dec 9, 2014 at 11:55 AM
Edited Dec 9, 2014 at 12: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 = Nothing


__I tested the same with 7-zip manager and the project SharpCompress ( and those did not use any unmanaged resources.__