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
{{ message }}
Repository navigation
Memory usage regression in 0.1.5 during PDF text extraction #1611
We are using markitdown to extract text from PDFs in a VM with 2 GB of RAM.
Everything was working correctly with markitdown 0.1.4, but after upgrading to 0.1.5, our Python process started failing with exit code 137, which typically indicates the process was killed due to out-of-memory (OOM).
After profiling the memory usage, it seems that markitdown consumes significantly more memory starting from version 0.1.5.
Observed behavior
Memory usage when converting a 400-page PDF to Markdown:
Version
Peak Memory
0.1.4
~200 MiB
0.1.5
~2.7 GiB
This makes the new version unusable in low-memory environments.
Activity
lesyk commentedon Mar 12, 2026
Acknowledged. Will investigate it.
lesyk commentedon Mar 12, 2026
Soulaïman Marsou (@smarsou) may you please uptake #1612 and check if it addresses problem?
smarsou commentedon Mar 13, 2026
Thanks a lot lesyk, you fixes the issue with PR #1612.
Looking forward to the release !
Results after changes
For the same file as in the question.
AlboCode commentedon Apr 6, 2026
Is there a planned date or range of dates for the release?
Thanks in advance
lesyk commentedon Apr 7, 2026
Adam Fourney (@afourney)