René's URL Explorer Experiment


Title: Regression bug: AbortSignal.any() causing memory leak on long lived parent signal · Issue #62363 · nodejs/node · GitHub

Open Graph Title: Regression bug: AbortSignal.any() causing memory leak on long lived parent signal · Issue #62363 · nodejs/node

X Title: Regression bug: AbortSignal.any() causing memory leak on long lived parent signal · Issue #62363 · nodejs/node

Description: Version v24.13.1, v25.8.1 Platform Linux KContainer 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What steps will reproduce the bug? Hi, I would like to report a potential regr...

Open Graph Description: Version v24.13.1, v25.8.1 Platform Linux KContainer 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What steps will reproduce the bug? Hi,...

X Description: Version v24.13.1, v25.8.1 Platform Linux KContainer 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What steps will reproduce the bug? Hi,...

Opengraph URL: https://github.com/nodejs/node/issues/62363

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Regression bug: AbortSignal.any() causing memory leak on long lived parent signal","articleBody":"### Version\n\nv24.13.1, v25.8.1\n\n### Platform\n\n```text\nLinux KContainer 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64 x86_64 x86_64 GNU/Linux\n```\n\n### Subsystem\n\n_No response_\n\n### What steps will reproduce the bug?\n\nHi,\n\nI would like to report a potential regression bug in Node. It can be reproduced by running the following snippet:\n```javascript\nconst ac = new AbortController();\n\nlet i = 0;\nfunction run() {\n  // This is the operation that causes the leak: repeatedly creating\n  // a combined signal from the same long-lived parent signal.\n  AbortSignal.any([ac.signal]);\n\n  if (++i % 100_000 === 0) {\n    const mem = process.memoryUsage().rss / 1024 / 1024;\n    const kDependantSignals = Object.getOwnPropertySymbols(ac.signal).filter(\n      (s) =\u003e s.toString() === 'Symbol(kDependantSignals)'\n    )[0];\n    const signals = ac.signal[kDependantSignals];\n    console.log(`${i} - ${mem.toFixed(2)} MiB - ${signals?.size} signals`);\n  }\n\n  setImmediate(run);\n}\n\nrun();\n```\n\n### How often does it reproduce? Is there a required condition?\n\nNo specific condition\n\n### What is the expected behavior? Why is that the expected behavior?\n\nThis issue was previously reported in #55351 and fixed in v22.12.0 'Jod' (https://github.com/nodejs/node/pull/55354)\n\n```\nroot@KContainer:~/temp/55351# node -v\nv22.12.0\nroot@KContainer:~/temp/55351# node test-any-leak.cjs\n100000 - 84.80 MiB - 19191 signals\n200000 - 95.71 MiB - 32634 signals\n300000 - 98.24 MiB - 41438 signals\n400000 - 95.88 MiB - 4510 signals\n500000 - 96.83 MiB - 13195 signals\n600000 - 97.34 MiB - 21910 signals\n700000 - 97.34 MiB - 30580 signals\n800000 - 98.64 MiB - 39250 signals\n900000 - 96.63 MiB - 2309 signals\n1000000 - 96.99 MiB - 11092 signals\n1100000 - 97.77 MiB - 19777 signals\n1200000 - 97.59 MiB - 28490 signals\n1300000 - 99.08 MiB - 37238 signals\n1400000 - 96.63 MiB - 329 signals\n1500000 - 97.71 MiB - 9057 signals\n1600000 - 98.16 MiB - 17778 signals\n1700000 - 98.16 MiB - 26520 signals\n1800000 - 99.60 MiB - 35267 signals\n1900000 - 99.43 MiB - 43989 signals\n2000000 - 97.36 MiB - 7071 signals\n2100000 - 98.04 MiB - 15770 signals\n2200000 - 97.96 MiB - 24486 signals\n2300000 - 99.22 MiB - 33191 signals\n```\n\nIt is evident from the output that memory remains constant without increasing linearly\n\n### What do you see instead?\n\nIn node v24.13.1 and v25.8.1 - Memory usage increases quickly linearly\n\n```\nroot@KContainer:~/temp/55351# node test-any-leak.cjs\n100000 - 161.09 MiB - 30167 signals\n200000 - 219.59 MiB - 43146 signals\n300000 - 295.21 MiB - 2056 signals\n400000 - 300.71 MiB - 102056 signals\n500000 - 379.02 MiB - 202056 signals\n600000 - 415.10 MiB - 56920 signals\n700000 - 423.03 MiB - 156920 signals\n800000 - 474.64 MiB - 256920 signals\n900000 - 570.81 MiB - 356920 signals\n1000000 - 621.09 MiB - 39647 signals\n1100000 - 629.51 MiB - 139647 signals\n1200000 - 630.28 MiB - 239647 signals\n1300000 - 654.92 MiB - 339647 signals\n1400000 - 740.88 MiB - 439647 signals\n1500000 - 847.48 MiB - 539647 signals\n1600000 - 922.58 MiB - 639647 signals\n1700000 - 974.05 MiB - 46721 signals\n1800000 - 981.79 MiB - 146721 signals\n1900000 - 982.41 MiB - 246721 signals\n2000000 - 992.41 MiB - 346721 signals\n2100000 - 992.41 MiB - 446721 signals\n```\n\nEventually resulting in a FATAL error:\n\n```\n\u003c--- Last few GCs ---\u003e\n\n[13503:0x6e4b000]   203625 ms: Scavenge 3702.6 (4044.6) -\u003e 3673.9 (4056.6) MB, pooled: 0.0 MB, 14.16 / 0.00 ms (average mu = 0.237, current mu = 0.225) task;\n[13503:0x6e4b000]   209229 ms: Mark-Compact (reduce) 3673.9 (4056.6) -\u003e 3447.2 (3854.4) MB, pooled: 0.0 MB, 5592.36 / 0.00 ms (+ 1.9 ms in 2 steps since start of marking, biggest step 1.0 ms, walltime since start of marking 5603 ms) (average mu = 0.238, c\nFATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory\n----- Native stack trace -----\n\n 1: 0x906a3b node::OOMErrorHandler(char const*, v8::OOMDetails const\u0026) [node]\n 2: 0xb8c2ca  [node]\n 3: 0xde4b55  [node]\n 4: 0xde82c9  [node]\n 5: 0xdfa308  [node]\n 6: 0xdf9c4f  [node]\n 7: 0x178c297  [node]\n```\n\n### Additional information\n\n_No response_","author":{"url":"https://github.com/kevgeoleo","@type":"Person","name":"kevgeoleo"},"datePublished":"2026-03-21T13:54:48.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/62363/node/issues/62363"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:a557c25d-63f2-9e50-0e02-fa8b451b4a25
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id829A:2CE60F:153B33E:1D4C6E3:6A4BFBAD
html-safe-nonce058558b9c9f50db1f6f3a7aa1b2459609b4b2be74e9bf94583c29ca318d10922
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4MjlBOjJDRTYwRjoxNTNCMzNFOjFENEM2RTM6NkE0QkZCQUQiLCJ2aXNpdG9yX2lkIjoiNzA0NTU1NTAzMzc4NjI4NDk3MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac98ae1c9b4458906c7f4b7c8b492a4f7464dfc3f326ee26751e5967156372bf02
hovercard-subject-tagissue:4112614900
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodejs/node/62363/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d31b9406ce5e46172a0c1a1ce29c34807fa762b9a28ed9d67c556bca8f8c3dba/nodejs/node/issues/62363
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d31b9406ce5e46172a0c1a1ce29c34807fa762b9a28ed9d67c556bca8f8c3dba/nodejs/node/issues/62363
og:image:altVersion v24.13.1, v25.8.1 Platform Linux KContainer 5.10.0-12-amd64 #1 SMP Debian 5.10.103-1 (2022-03-07) x86_64 x86_64 x86_64 GNU/Linux Subsystem No response What steps will reproduce the bug? Hi,...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekevgeoleo
hostnamegithub.com
expected-hostnamegithub.com
None0f5d3ba365b3985d75c32a5957c8635488d58dcf027ae6ae958eee7edaa306a2
turbo-cache-controlno-preview
go-importgithub.com/nodejs/node git https://github.com/nodejs/node.git
octolytics-dimension-user_id9950313
octolytics-dimension-user_loginnodejs
octolytics-dimension-repository_id27193779
octolytics-dimension-repository_nwonodejs/node
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id27193779
octolytics-dimension-repository_network_root_nwonodejs/node
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release6c542436f9c7282f518e9ec7bc5a3adff20a13fd
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/nodejs/node/issues/62363#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F62363
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fnodejs%2Fnode%2Fissues%2F62363
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=nodejs%2Fnode
Reloadhttps://github.com/nodejs/node/issues/62363
Reloadhttps://github.com/nodejs/node/issues/62363
Reloadhttps://github.com/nodejs/node/issues/62363
Please reload this pagehttps://github.com/nodejs/node/issues/62363
nodejs https://github.com/nodejs
nodehttps://github.com/nodejs/node
Please reload this pagehttps://github.com/nodejs/node/issues/62363
Notifications https://github.com/login?return_to=%2Fnodejs%2Fnode
Fork 36k https://github.com/login?return_to=%2Fnodejs%2Fnode
Star 118k https://github.com/login?return_to=%2Fnodejs%2Fnode
Code https://github.com/nodejs/node
Issues 1.4k https://github.com/nodejs/node/issues
Pull requests 967 https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality 0 https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
Code https://github.com/nodejs/node
Issues https://github.com/nodejs/node/issues
Pull requests https://github.com/nodejs/node/pulls
Actions https://github.com/nodejs/node/actions
Projects https://github.com/nodejs/node/projects
Security and quality https://github.com/nodejs/node/security
Insights https://github.com/nodejs/node/pulse
#62367https://github.com/nodejs/node/pull/62367
Regression bug: AbortSignal.any() causing memory leak on long lived parent signalhttps://github.com/nodejs/node/issues/62363#top
#62367https://github.com/nodejs/node/pull/62367
abortcontrollerIssues and PRs related to the AbortController APIhttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22abortcontroller%22
https://github.com/kevgeoleo
kevgeoleohttps://github.com/kevgeoleo
on Mar 21, 2026https://github.com/nodejs/node/issues/62363#issue-4112614900
#55351https://github.com/nodejs/node/issues/55351
#55354https://github.com/nodejs/node/pull/55354
abortcontrollerIssues and PRs related to the AbortController APIhttps://github.com/nodejs/node/issues?q=state%3Aopen%20label%3A%22abortcontroller%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.