Search found 1 match

by dgosolo
Wed May 31, 2023 8:57 am
Forum: PDF
Topic: Running GdPicturePdf.OcrPages doesn't free used memory
Replies: 0
Views: 73362

Running GdPicturePdf.OcrPages doesn't free used memory

When I run OCR on pdf documents containing images of text around 1 GB of memory is used. The memory is not released, even though I dispose the PDF and clear/close it as much as possible. I attach the project I used to test this. The most important part of code is below: var files = Directory.GetFile...