Skip to content

Memory leak in PDFGenerator.parallel #43

@pavoljuhas

Description

@pavoljuhas

The multiprocessing Pool does not terminate when PDFGenerator is garbage collected. Repeated calls to parallel fork new processes and use all memory.

Solution: make sure the pool is terminated when out of scope.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions