René's URL Explorer Experiment


Title: Angular Router auxiliary outlets can exhaust memory during SSR · Issue #70932 · angular/angular · GitHub

Open Graph Title: Angular Router auxiliary outlets can exhaust memory during SSR · Issue #70932 · angular/angular

X Title: Angular Router auxiliary outlets can exhaust memory during SSR · Issue #70932 · angular/angular

Description: Which @angular/* package(s) are the source of the bug? router Is this a regression? No Description The processChildren() recognizes every outlet before mergeEmptyPathMatches() removes duplicate empty-path branches. Every snapshot created...

Open Graph Description: Which @angular/* package(s) are the source of the bug? router Is this a regression? No Description The processChildren() recognizes every outlet before mergeEmptyPathMatches() removes duplicate emp...

X Description: Which @angular/* package(s) are the source of the bug? router Is this a regression? No Description The processChildren() recognizes every outlet before mergeEmptyPathMatches() removes duplicate emp...

Opengraph URL: https://github.com/angular/angular/issues/70932

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular Router auxiliary outlets can exhaust memory during SSR","articleBody":"### Which @angular/* package(s) are the source of the bug?\n\nrouter\n\n### Is this a regression?\n\nNo\n\n### Description\nThe `processChildren()` recognizes every outlet before `mergeEmptyPathMatches()` removes duplicate empty-path branches. Every snapshot created along the way also copies the complete query parameter map:\n\n```ts\nObject.freeze({ ...this.urlTree.queryParams });\n```\n\nA small route shape is enough:\n\n```ts\nexport const routes: Routes = [\n  {\n    path: \"shop\",\n    children: [{ path: \"\", children: [{ path: \"\", component: ShopPage }] }],\n  },\n  { path: \"**\", component: NotFound },\n];\n```\n\nFor example:\n\n```text\n/shop/(a:/()//b:/()//...)?a&b&c&...\n```\n\nWith 480 outlets and 1,377 distinct query names, the 7,873-byte request creates **1,926 snapshots** and copies **2,652,102 query properties**.\n\nAt 128 MiB:\n\n| Arm                | Bytes |       Outcome | Snapshots |   Keys copied |\n| ------------------ | ----: | ------------: | --------: | ------------: |\n| Candidate          | 7,873 | **5/5 fatal** |     1,926 | **2,652,102** |\n| Equal-byte control | 7,873 |     0/5 fatal |     1,926 |         3,852 |\n| Query only         | 4,084 |     0/5 fatal |         6 |         8,262 |\n| Outlets only       | 3,794 |     0/5 fatal |     1,926 |             0 |\n\nNeither dimension reaches the same result alone.\n\nI also tested 8 KiB and 16 KiB request lines at different empty-path depths with an async `canMatch`.\n\nThe values below are the **lowest concurrency that terminated the worker**. For example, `5` means four concurrent requests survived and five reached the OOM boundary.\n\n| Request | Depth | 256 MiB | 512 MiB | 1,024 MiB |\n| ------- | ----: | ------: | ------: | --------: |\n| 8 KiB   |     2 |   **2** |   **5** |      6–16 |\n|         |     3 |   **2** |   **3** |     **6** |\n|         |     4 |   **1** |   **3** |     **5** |\n| 16 KiB  |     2 |   **1** |   **2** |     **4** |\n|         |     3 |   **1** |   **2** |     **3** |\n|         |     4 |   **1** |   **1** |     **2** |\n\nWithout the async guard, concurrency did not help. The largest heaps I could terminate with a **single request** were:\n\n| Depth |            8 KiB |        16 KiB |\n| ----: | ---------------: | ------------: |\n|     1 | survives 128 MiB |   **256 MiB** |\n|     2 |      **128 MiB** |   **512 MiB** |\n|     3 |      **128 MiB** |   **512 MiB** |\n|     4 |      **256 MiB** | **1,024 MiB** |\n\nDepth is application-controlled, not attacker-controlled.\n\nIn this we don't need to use numeric parameters or matrix parameters are involved. Angular 22.2.0 already contains #70717.\n\nSharing one frozen query map per recognition attempt changed the main 8 KiB / 128 MiB case from **5/5 fatal to 0/5** and reduced the copied properties from 2,652,102 to 1,377.\n\n### Please provide a link to a minimal reproduction of the bug\n\nSee POC https://github.com/SkyZeroZx/angular-router-aux-outlet-oom-lab","author":{"url":"https://github.com/SkyZeroZx","@type":"Person","name":"SkyZeroZx"},"datePublished":"2026-09-25T05:58:06Z","url":"https://github.com/angular/angular/issues/70932"}

react-profiling0
react-import-mapreact,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-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d719aaf6-04de-60aa-0f5f-15ebefbf3a31
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA2F4:365BED:518D6B:72D22C:6AFDC9BA
html-safe-nonce3e64540d571431f617abef39f4a094082701510926f9639dab6485ef30259abf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMkY0OjM2NUJFRDo1MThENkI6NzJEMjJDOjZBRkRDOUJBIiwidmlzaXRvcl9pZCI6Ijg3NjIxMTExNzgzMzI1NTU3MDYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacbf3673d26691efdf7239c8696cb7e0b643e2e12919d21e1e1ce88994389dff88
hovercard-subject-tagissue:5578831386
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/angular/angular/70932/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e819deadf1c74544961331b8d2369ed04eb15235ee2547274bb5c5f01eed82b9/angular/angular/issues/70932
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e819deadf1c74544961331b8d2369ed04eb15235ee2547274bb5c5f01eed82b9/angular/angular/issues/70932
og:image:altWhich @angular/* package(s) are the source of the bug? router Is this a regression? No Description The processChildren() recognizes every outlet before mergeEmptyPathMatches() removes duplicate emp...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSkyZeroZx
hostnamegithub.com
expected-hostnamegithub.com
None9ab00cc3b4fa90bbd3da70765dd38efc23cfa9d9b0930e41feea2bf67f60ecaf
turbo-cache-controlno-preview
go-importgithub.com/angular/angular git https://github.com/angular/angular.git
octolytics-dimension-user_id139426
octolytics-dimension-user_loginangular
octolytics-dimension-repository_id24195339
octolytics-dimension-repository_nwoangular/angular
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id24195339
octolytics-dimension-repository_network_root_nwoangular/angular
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
release1b795ba060b92691fc16c5a12cf2bf95e83432b4
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/angular/angular/issues/70932#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F70932
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fangular%2Fangular%2Fissues%2F70932
Sign uphttps://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=angular%2Fangular
Reloadhttps://github.com/angular/angular/issues/70932
Reloadhttps://github.com/angular/angular/issues/70932
Reloadhttps://github.com/angular/angular/issues/70932
angularhttps://github.com/angular
angularhttps://github.com/angular/angular
Codehttps://github.com/angular/angular
Issues833 (833)https://github.com/angular/angular/issues
Pull requests126 (126)https://github.com/angular/angular/pulls
Discussionshttps://github.com/angular/angular/discussions
Actionshttps://github.com/angular/angular/actions
Projectshttps://github.com/angular/angular/projects
Security and quality40 (40)https://github.com/angular/angular/security
Insightshttps://github.com/angular/angular/insights
https://github.com/angular/angular
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/70932
New issuehttps://github.com/login?return_to=https://github.com/angular/angular/issues/70932
#71055https://github.com/angular/angular/pull/71055
#70933https://github.com/angular/angular/pull/70933
Angular Router auxiliary outlets can exhaust memory during SSRhttps://github.com/angular/angular/issues/70932#top
#71055https://github.com/angular/angular/pull/71055
#70933https://github.com/angular/angular/pull/70933
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
needsTriagehttps://github.com/angular/angular/milestone/83
https://github.com/SkyZeroZx
SkyZeroZxhttps://github.com/SkyZeroZx
on Sep 25, 2026https://github.com/angular/angular/issues/70932#issue-5578831386
#70717https://github.com/angular/angular/pull/70717
https://github.com/SkyZeroZx/angular-router-aux-outlet-oom-labhttps://github.com/SkyZeroZx/angular-router-aux-outlet-oom-lab
Nexthttps://github.com/angular/angular/issues/70932?timeline_page=1
angular-robothttps://github.com/apps/angular-robot
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
gemini-triagedhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22gemini-triaged%22
on Sep 25, 2026https://github.com/angular/angular/issues/70932#event-31813586669
ngbothttps://github.com/apps/ngbot
needsTriagehttps://github.com/angular/angular/milestone/83
on Sep 25, 2026https://github.com/angular/angular/issues/70932#event-31813587711
angular-robothttps://github.com/apps/angular-robot
needsTriagehttps://github.com/angular/angular/milestone/83
on Sep 25, 2026https://github.com/angular/angular/issues/70932#event-31813587776
SkyZeroZxhttps://github.com/SkyZeroZx
on Sep 25, 2026https://github.com/angular/angular/issues/70932#event-31813826962
fix(router): do not copy URL-sized objects into every route snapshothttps://github.com/SkyZeroZx/angular/commit/57ca96349d5a4955cd67ad686c05868926a91510
https://docs.github.com/articles/closing-issues-via-commit-messages
57ca963https://github.com/SkyZeroZx/angular/commit/57ca96349d5a4955cd67ad686c05868926a91510
fix(router): do not copy URL-sized objects into every route snapshothttps://github.com/SkyZeroZx/angular/commit/eac156a2401884e4e5edb542b20de83aa4a9f0be
https://docs.github.com/articles/closing-issues-via-commit-messages
eac156ahttps://github.com/SkyZeroZx/angular/commit/eac156a2401884e4e5edb542b20de83aa4a9f0be
fix(router): do not copy URL-sized objects into every route snapshothttps://github.com/SkyZeroZx/angular/commit/cbabf1d1221c42088b3a50f2ec19bb28d0bb381e
https://docs.github.com/articles/closing-issues-via-commit-messages
cbabf1dhttps://github.com/SkyZeroZx/angular/commit/cbabf1d1221c42088b3a50f2ec19bb28d0bb381e
fix(router): do not copy URL-sized objects into every route snapshothttps://github.com/SkyZeroZx/angular/commit/108b9235f680ec511f0f51cc749b34177f29ef33
https://docs.github.com/articles/closing-issues-via-commit-messages
108b923https://github.com/SkyZeroZx/angular/commit/108b9235f680ec511f0f51cc749b34177f29ef33
atscotthttps://github.com/atscott
on Sep 28, 2026https://github.com/angular/angular/issues/70932#event-32020779161
fix(router): do not copy URL-sized objects into every route snapshothttps://github.com/angular/angular/commit/fac2f234d79a9d5da9377fc5e2f6956fd814e6ff
https://docs.github.com/articles/closing-issues-via-commit-messages
fac2f23https://github.com/angular/angular/commit/fac2f234d79a9d5da9377fc5e2f6956fd814e6ff
atscotthttps://github.com/atscott
completedhttps://github.com/angular/angular/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#70933https://github.com/angular/angular/pull/70933
on Sep 28, 2026https://github.com/angular/angular/issues/70932#event-32020779186
atscotthttps://github.com/atscott
on Sep 28, 2026https://github.com/angular/angular/issues/70932#event-32020785650
fix(router): do not copy URL-sized objects into every route snapshothttps://github.com/angular/angular/commit/568d6a83a23b37f519ba564f79f7a03bbdfb6893
https://docs.github.com/articles/closing-issues-via-commit-messages
568d6a8https://github.com/angular/angular/commit/568d6a83a23b37f519ba564f79f7a03bbdfb6893
fix(router): do not copy URL-sized objects into every route snapshothttps://github.com/angular/angular/commit/142f187b3c8e956aade5457f7f9c8ed73754979b
https://docs.github.com/articles/closing-issues-via-commit-messages
142f187https://github.com/angular/angular/commit/142f187b3c8e956aade5457f7f9c8ed73754979b
fix(router): do not copy URL-sized objects into every route snapshothttps://github.com/angular/angular/commit/4bc11a546be9e66ee5c40b48d7a8a5d014609987
https://docs.github.com/articles/closing-issues-via-commit-messages
4bc11a5https://github.com/angular/angular/commit/4bc11a546be9e66ee5c40b48d7a8a5d014609987
fix(router): require outlets to match a route before processing child…https://github.com/atscott/angular/commit/85c24b85119ab82f6298f056a685ac6e96fe48f4
https://docs.github.com/articles/closing-issues-via-commit-messages
85c24b8https://github.com/atscott/angular/commit/85c24b85119ab82f6298f056a685ac6e96fe48f4
fix(router): require outlets to match a route before processing child…https://github.com/atscott/angular/commit/60251bb7a9e5f4ef89eb90f6c75616c4d2bf4b90
https://docs.github.com/articles/closing-issues-via-commit-messages
60251bbhttps://github.com/atscott/angular/commit/60251bb7a9e5f4ef89eb90f6c75616c4d2bf4b90
atscotthttps://github.com/atscott
on Sep 29, 2026https://github.com/angular/angular/issues/70932#event-32113397302
fix(router): require outlets to match a route before processing child…https://github.com/atscott/angular/commit/a47785d569c5a9082cf0238bb66f7d323b3a60ed
a47785dhttps://github.com/atscott/angular/commit/a47785d569c5a9082cf0238bb66f7d323b3a60ed
fix(router): require outlets to match a route before processing child…https://github.com/atscott/angular/commit/e528586f1387b976c1de972857c042d46bd0dc56
e528586https://github.com/atscott/angular/commit/e528586f1387b976c1de972857c042d46bd0dc56
fix(router): require outlets to match a route before processing child…https://github.com/atscott/angular/commit/aa2d61ce1e0c4213cb1642c9e5a27b59b877dab6
aa2d61chttps://github.com/atscott/angular/commit/aa2d61ce1e0c4213cb1642c9e5a27b59b877dab6
fix(router): require outlets to match a route before processing child…https://github.com/atscott/angular/commit/d501dfb1b39672b5f91adf5132d5a59232d5a10d
d501dfbhttps://github.com/atscott/angular/commit/d501dfb1b39672b5f91adf5132d5a59232d5a10d
fix(router): require outlets to match a route before processing child…https://github.com/atscott/angular/commit/2d4a137913c5a04d9237a24fcecd3f267a84704b
2d4a137https://github.com/atscott/angular/commit/2d4a137913c5a04d9237a24fcecd3f267a84704b
fix(router): require outlets to match a route before processing child…https://github.com/atscott/angular/commit/c78355bf0d8020a7009ec7693ac07c151f418b9f
c78355bhttps://github.com/atscott/angular/commit/c78355bf0d8020a7009ec7693ac07c151f418b9f
fix(router): require outlets to match a route before processing child…https://github.com/atscott/angular/commit/f0cddea2a912816dac03fadda4c9c4e5909cd190
f0cddeahttps://github.com/atscott/angular/commit/f0cddea2a912816dac03fadda4c9c4e5909cd190
fix(router): require outlets to match a route before processing child…https://github.com/atscott/angular/commit/f8b2d18f8d0fea04b903eb7fe89d67342bee5b3a
f8b2d18https://github.com/atscott/angular/commit/f8b2d18f8d0fea04b903eb7fe89d67342bee5b3a
fix(router): require outlets to match a route before processing child…https://github.com/angular/angular/commit/b6bf6504adab1a78cc62ad8402f6bed229e620bd
b6bf650https://github.com/angular/angular/commit/b6bf6504adab1a78cc62ad8402f6bed229e620bd
fix(router): require outlets to match a route before processing child…https://github.com/angular/angular/commit/e9bf52aa03a3b9b302c33ffbc967ef0e1de5fb79
e9bf52ahttps://github.com/angular/angular/commit/e9bf52aa03a3b9b302c33ffbc967ef0e1de5fb79
fix(router): require outlets to match a route before processing child…https://github.com/angular/angular/commit/b0d2ba0f54e21cb57ea5a0ca0d8e6065f28e23a0
b0d2ba0https://github.com/angular/angular/commit/b0d2ba0f54e21cb57ea5a0ca0d8e6065f28e23a0
fix(router): require outlets to match a route before processing child…https://github.com/angular/angular/commit/a83f8119acd466b524ae0113096ed188358d6d6c
a83f811https://github.com/angular/angular/commit/a83f8119acd466b524ae0113096ed188358d6d6c
https://github.com/SkyZeroZx
SkyZeroZxhttps://github.com/SkyZeroZx
on Oct 7, 2026https://github.com/angular/angular/issues/70932#issuecomment-6041150235
Google IssueTracker 565913425https://issuetracker.google.com/u/1/issues/565913425
https://github.com/apps/angular-automatic-lock-bot
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Nov 7, 2026https://github.com/angular/angular/issues/70932#issuecomment-6699336943
automatic conversation locking policyhttps://github.com/angular/angular/blob/f0fbced1c55bc8b8ed9df01cea99df42f3e7eae3/contributing-docs/auto-issue-locking.md
angular-automatic-lock-bothttps://github.com/apps/angular-automatic-lock-bot
on Nov 7, 2026https://github.com/angular/angular/issues/70932#event-35402259001
Sign up for freehttps://github.com/signup?return_to=https://github.com/angular/angular/issues/70932
Sign in to commenthttps://github.com/login?return_to=https://github.com/angular/angular/issues/70932
area: routerhttps://github.com/angular/angular/issues?q=state%3Aopen%20label%3A%22area%3A%20router%22
needsTriageNo due datehttps://github.com/angular/angular/milestone/83
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.