Title: `test_free_threading.test_pickle` takes more than 4 minutes and consumes up to 22 GiB of memory · Issue #150257 · python/cpython · GitHub
Open Graph Title: `test_free_threading.test_pickle` takes more than 4 minutes and consumes up to 22 GiB of memory · Issue #150257 · python/cpython
X Title: `test_free_threading.test_pickle` takes more than 4 minutes and consumes up to 22 GiB of memory · Issue #150257 · python/cpython
Description: Sometimes, test_free_threading.test_pickle takes more than 4 minutes and consumes up to 22 GiB of memory. I had to interrupt the job to avoid an OOM error. Output of a modified Python on my Fedora 44: $ ./python -m test -j0 test_free_thr...
Open Graph Description: Sometimes, test_free_threading.test_pickle takes more than 4 minutes and consumes up to 22 GiB of memory. I had to interrupt the job to avoid an OOM error. Output of a modified Python on my Fedora ...
X Description: Sometimes, test_free_threading.test_pickle takes more than 4 minutes and consumes up to 22 GiB of memory. I had to interrupt the job to avoid an OOM error. Output of a modified Python on my Fedora ...
Opengraph URL: https://github.com/python/cpython/issues/150257
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"`test_free_threading.test_pickle` takes more than 4 minutes and consumes up to 22 GiB of memory","articleBody":"Sometimes, `test_free_threading.test_pickle` takes more than 4 minutes and consumes up to 22 GiB of memory. I had to interrupt the job to avoid an OOM error.\n\nOutput of a modified Python on my Fedora 44:\n\n```\n$ ./python -m test -j0 test_free_threading\n(...)\n0:04:14 load avg: 2.46 mem: 22.0 GiB running (1): test_free_threading.test_pickle (4 min 10 sec)\n pid 1267609: test_free_threading.test_pickle: 22660.4 MiB\n0:04:15 load avg: 2.46 mem: 22.1 GiB running (1): test_free_threading.test_pickle (4 min 12 sec)\n pid 1267609: test_free_threading.test_pickle: 22761.5 MiB\n0:04:17 load avg: 2.46 mem: 22.2 GiB running (1): test_free_threading.test_pickle (4 min 13 sec)\n pid 1267609: test_free_threading.test_pickle: 23027.4 MiB\n0:04:18 load avg: 2.43 mem: 22.5 GiB running (1): test_free_threading.test_pickle (4 min 15 sec)\n^C\n```\n\n\u003c!-- gh-linked-prs -->\n### Linked PRs\n* gh-150260\n\u003c!-- /gh-linked-prs -->\n","author":{"url":"https://github.com/vstinner","@type":"Person","name":"vstinner"},"datePublished":"2026-05-22T16:01:59Z","url":"https://github.com/python/cpython/issues/150257"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:b808bfcf-5685-d301-b059-0e3af95b295b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8164:4279A:30F9CC4:41DEBCB:6B020241 |
| html-safe-nonce | 625d21c452edf9a86d82f7c1f86b1d5ac88d3180db2124258a55947825236ae6 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MTY0OjQyNzlBOjMwRjlDQzQ6NDFERUJDQjo2QjAyMDI0MSIsInZpc2l0b3JfaWQiOiI2OTAyNTUxMzEwMjQ0MTE5MTA1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | e767154f5f2859138506da40c6f017f0527d82c27f5d5088c30e65eb06d84513 |
| hovercard-subject-tag | issue:4503980582 |
| 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/150257/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1b33a63b9c4a25e76b8a67dbd3b5dc26212b21a0f385a39ec975a13bea48113a/python/cpython/issues/150257 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b33a63b9c4a25e76b8a67dbd3b5dc26212b21a0f385a39ec975a13bea48113a/python/cpython/issues/150257 |
| og:image:alt | Sometimes, test_free_threading.test_pickle takes more than 4 minutes and consumes up to 22 GiB of memory. I had to interrupt the job to avoid an OOM error. Output of a modified Python on my Fedora ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vstinner |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width