You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to convert PDF to text, I notice very high memory usage for one specific PDF. This might mean there's a memory leak in the library.
To Reproduce
Code to reproduce the issue:
val reader =PdfReader(contents)
val extractor =PdfTextExtractor(reader)
for (i in1..reader.numberOfPages) {
val text = extractor.getTextFromPage(i)
onPageParsed(text)
}
When reaching page 4 of the attached PDF, I see this uses ~17GB of memory. With other PDFs, this is way lower.
Describe the bug
When trying to convert PDF to text, I notice very high memory usage for one specific PDF. This might mean there's a memory leak in the library.
To Reproduce
Code to reproduce the issue:
When reaching page 4 of the attached PDF, I see this uses ~17GB of memory. With other PDFs, this is way lower.
Expected behavior
Not using this much memory
System
Your real name
Arne Stockmans
Additional context
0a715c43-5b76-4bc7-9d91-38ebae902f97_paper.pdf
The text was updated successfully, but these errors were encountered: