we use the code in the attached example project to extract the first image of a PDF as Bitmap.
We have been finding out a memory leak, if we call the code several times (500 times in the attached example). What we see is that the leak occurs on your side (see attached screenshots of the memory analysis from dotMemory after running the attached program.
Please tell us how to extract the first image of a PDF as bitmap without memory leaks or fix this problem.
MemLeakClass.zip (24,1 KB)
MemLeakScreeny.png (69,9 KB)