Title: _multiprocessing leaks references when initialised multiple times · Issue #94382 · python/cpython · GitHub
Open Graph Title: _multiprocessing leaks references when initialised multiple times · Issue #94382 · python/cpython
X Title: _multiprocessing leaks references when initialised multiple times · Issue #94382 · python/cpython
Description: 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. Curre...
Open Graph Description: 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 t...
X Description: 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 t...
Opengraph URL: https://github.com/python/cpython/issues/94382
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"_multiprocessing leaks references when initialised multiple times","articleBody":"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.\r\n\r\nCurrent Memory leak at exit:\r\n```console\r\n[170 refs, 71 blocks]\r\n```\r\n\r\nSee PR https://github.com/python/cpython/pull/94336","author":{"url":"https://github.com/kumaraditya303","@type":"Person","name":"kumaraditya303"},"datePublished":"2022-06-28T12:37:32.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":45},"url":"https://github.com/94382/cpython/issues/94382"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b916acb6-e7d2-0014-4e86-dc843188cca7 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A128:386F6E:6A6E98:91DB0F:6969E375 |
| html-safe-nonce | 51ed6604023c68164e02945618fa1c5f662ef0be9af1a546b3f6f616c965d344 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTI4OjM4NkY2RTo2QTZFOTg6OTFEQjBGOjY5NjlFMzc1IiwidmlzaXRvcl9pZCI6IjExMDgxNjQ0NzI1MjI1MzE3MDEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8b19fc3a725c51f28a350141eac3a1917479511d727e4ec4ca8f360e580ba708 |
| hovercard-subject-tag | issue:1287280621 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/94382/issue_layout |
| twitter:image | https://opengraph.githubassets.com/936d4c906775efb59de048f2e53750cf65c3bd3d1b40d1a5c6f6053154ffdd69/python/cpython/issues/94382 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/936d4c906775efb59de048f2e53750cf65c3bd3d1b40d1a5c6f6053154ffdd69/python/cpython/issues/94382 |
| og:image:alt | 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 t... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kumaraditya303 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7b32f1c7c4549428ee399213e8345494fc55b5637195d3fc5f493657579235e8 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | bdde15ad1b403e23b08bbd89b53fbe6bdf688cad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width