Skip to content

_multiprocessing leaks references when initialised multiple times #94382

Closed
@kumaraditya303

Description

@kumaraditya303

By converting _multiprocessing to heap types, the module can be used in subinterpreters and does not leak memory when Python finalizes or when it is initialized multiple times. The converted heap types are not performance critical.

Current Memory leak at exit:

[170 refs, 71 blocks]

See PR #94336

Metadata

Metadata

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions