I am using PyMuPDF, and it seems that there is a memory leak after opening and closing files. #4671
Replies: 2 comments 1 reply
-
Part of this is normal and intended: the base library caches data in n effort to increase speed. Please try the following two experiments to isolate the cause:
|
Beta Was this translation helpful? Give feedback.
1 reply
-
@xiaolibuzai-ovo If required please continue this discussion on our forum at https://forum.pymupdf.com , we are trying to move all discussions there! :) |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
code:

As shown in the figure: I download a PDF file via HTTP and load it.

When I repeat the process continuously, the memory usage keeps increasing.
platform: linux
version: 1.25.5
thanks for u help!
Beta Was this translation helpful? Give feedback.
All reactions