Pdf to image memory leak #1118
Replies: 5 comments 2 replies
-
Have you ever computed the size of one pixmap? |
Beta Was this translation helpful? Give feedback.
-
i was not aware of that my bad but let's say if i have to remove cache how can i remove that. i have tried to delete images object but it's doesn't make any changes.
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Well then it looks like you have to bargain processing speed against memory consumption. |
Beta Was this translation helpful? Give feedback.
-
Hi i am using the library to convert the pdf pages into images. Where i am getting too much ram consumption problem.
You can see below image where in start it's using 514 mb ram where after pdf to image conversion where it will use 2.8 gb. i can't able to share document but it contains 69 pages.
Code example
output of
print(sys.version, "\n", sys.platform, "\n", fitz.__doc__)
3.7.10 (default, May 3 2021, 02:48:31)
[GCC 7.5.0]
linux
PyMuPDF 1.18.14: Python bindings for the MuPDF 1.18.0 library.
Version date: 2021-06-01 08:11:38.
Built for Python 3.7 on linux (64-bit).
Beta Was this translation helpful? Give feedback.
All reactions