Skip to content

After calling fitz. open() to close, the number of file handles continues to increase, and the final display shows Too many open files #2672

@black-zyp

Description

@black-zyp

My data exists in the nas server, and there are thousands of PDFs that need to be read and converted into images. The PyMuPdf version is 1.20.2, and the Python version is 3.7. After the program runs for a period of time, the nas server shows that the number of handles to this program has been increasing, and the final error is: Too many open files. It should be that the handle to the file was opened through fitz and not closed, but I am sure that I have closed it using the close method, I am very confused. Is there any way to solve this problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions