I'm using Xceed ZIP libraries in a Powershell script and reading zip files into a memory folder, opening each TIFF file in memory through OpenRead (I have to check the number of pages in a TIFF file). I think my problem is that I can't get the memory used by the memory folder to release after each zip file is read in. I am using the Delete() method at the end of each iteration of my for each loop as I loop through the zip files, but the memory isn't released. I'm also actively disposing of the image file created from the stream in memory (I think). Any ideas on what's causing the massive memory issues? I'm talking like 2 GB of memory used after reading 5 zip files that are about 125MB.
I have a production license of 3.7
Thanks,
Drew