René's URL Explorer Experiment


Title: tsc crash with node OOM · Issue #30050 · microsoft/TypeScript · GitHub

Open Graph Title: tsc crash with node OOM · Issue #30050 · microsoft/TypeScript

X Title: tsc crash with node OOM · Issue #30050 · microsoft/TypeScript

Description: TypeScript Version: 3.4.0-dev.20190222 Search Terms: Crash, OOM, infinite Code Across a few files - self-contained repro at https://github.com/jdhuntington/tsc-repro Expected behavior: This is a trimmed down repro of an issue encountered...

Open Graph Description: TypeScript Version: 3.4.0-dev.20190222 Search Terms: Crash, OOM, infinite Code Across a few files - self-contained repro at https://github.com/jdhuntington/tsc-repro Expected behavior: This is a tr...

X Description: TypeScript Version: 3.4.0-dev.20190222 Search Terms: Crash, OOM, infinite Code Across a few files - self-contained repro at https://github.com/jdhuntington/tsc-repro Expected behavior: This is a tr...

Opengraph URL: https://github.com/microsoft/TypeScript/issues/30050

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"tsc crash with node OOM","articleBody":"**TypeScript Version:**  3.4.0-dev.20190222\r\n\r\n**Search Terms:** Crash, OOM, infinite\r\n\r\n**Code**\r\n\r\nAcross a few files - self-contained repro at https://github.com/jdhuntington/tsc-repro\r\n\r\n**Expected behavior:**\r\nThis is a trimmed down repro of an issue encountered in a larger project. It is not expected to compile successfully, but should print several error messages.\r\n\r\n**Actual behavior:**\r\n\r\n`tsc` runs for several minutes comsuming 100%. Eventually the node\r\nprocess exits with this error:\r\n\r\n    \u003c--- Last few GCs --->\r\n    \r\n    [64465:0x102803200]   227795 ms: Scavenge 1369.9 (1422.5) -> 1368.9 (1422.5) MB, 1.5 / 0.0 ms  (average mu = 0.181, current mu = 0.142) allocation failure\r\n    [64465:0x102803200]   227799 ms: Scavenge 1369.9 (1422.5) -> 1368.9 (1422.5) MB, 1.5 / 0.0 ms  (average mu = 0.181, current mu = 0.142) allocation failure\r\n    [64465:0x102803200]   227803 ms: Scavenge 1369.9 (1422.5) -> 1368.9 (1423.0) MB, 1.5 / 0.0 ms  (average mu = 0.181, current mu = 0.142) allocation failure\r\n    \r\n    \r\n    \u003c--- JS stacktrace --->\r\n    \r\n    ==== JS stack trace =========================================\r\n    \r\n        0: ExitFrame [pc: 0x1360ab75be3d]\r\n        1: StubFrame [pc: 0x1360ab72236e]\r\n    Security context: 0x3c72e589e6e1 \u003cJSObject>\r\n        2: slice [0x3c72e5886d09](this=0x3c72e4502959 \u003cJSArray[8]>,0)\r\n        3: /* anonymous */(aka /* anonymous */) [0x3c72e4502a11] [/private/var/folders/dx/dq3cr7h55q98bgm8t_ypkqp40000gn/T/interactive.Y0po3Zfl/tsc-repro/node_modules/typescript/lib/tsc.js:~32890] [pc=0x1360ac240071](this=0x3c725b0026f1 \u003cundefined>,t=0x3c7250d...\r\n    \r\n    FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory\r\n     1: 0x10003b125 node::Abort() [/Users/jdh/local/n/bin/node]\r\n     2: 0x10003b32f node::OnFatalError(char const*, char const*) [/Users/jdh/local/n/bin/node]\r\n     3: 0x1001a8e85 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [/Users/jdh/local/n/bin/node]\r\n     4: 0x1005742a2 v8::internal::Heap::FatalProcessOutOfMemory(char const*) [/Users/jdh/local/n/bin/node]\r\n     5: 0x100576d75 v8::internal::Heap::CheckIneffectiveMarkCompact(unsigned long, double) [/Users/jdh/local/n/bin/node]\r\n     6: 0x100572c1f v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [/Users/jdh/local/n/bin/node]\r\n     7: 0x100570df4 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [/Users/jdh/local/n/bin/node]\r\n     8: 0x10057d68c v8::internal::Heap::AllocateRawWithLigthRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/Users/jdh/local/n/bin/node]\r\n     9: 0x10057d70f v8::internal::Heap::AllocateRawWithRetryOrFail(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [/Users/jdh/local/n/bin/node]\r\n    10: 0x10054d054 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [/Users/jdh/local/n/bin/node]\r\n    11: 0x1007d4f24 v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [/Users/jdh/local/n/bin/node]\r\n    12: 0x1360ab75be3d\r\n    zsh: abort      ./node_modules/.bin/tsc --pretty --target es5 --outDir lib-commonjs --module\r\n\r\n\r\n**Related Issues:**  #29597 , #29326\r\n","author":{"url":"https://github.com/jdhuntington","@type":"Person","name":"jdhuntington"},"datePublished":"2019-02-22T18:43:15Z","url":"https://github.com/microsoft/TypeScript/issues/30050"}

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:45ac0ab1-052b-b48d-fb9a-a369be2d37c5
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE26C:317608:23A50A0:2D1E0E2:6B017D3D
html-safe-nonce46b2e118ae8aec886db6e20964c9ebdb7f487e650f6683873fc0e7da7c46ac0e
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMjZDOjMxNzYwODoyM0E1MEEwOjJEMUUwRTI6NkIwMTdEM0QiLCJ2aXNpdG9yX2lkIjoiOTUwNTY4MDMwNjcxMzA2MDQ1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac4a72dae8713c9aab42908f4213584a046cf805bbcc412ef4d4ce031721e96602
hovercard-subject-tagissue:413529400
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/microsoft/TypeScript/30050/issue_layout
twitter:imagehttps://opengraph.githubassets.com/a1de5cb113d5b3557c43aecbd23fb950ec5b5408911277cd18225be9c20da8dc/microsoft/TypeScript/issues/30050
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/a1de5cb113d5b3557c43aecbd23fb950ec5b5408911277cd18225be9c20da8dc/microsoft/TypeScript/issues/30050
og:image:altTypeScript Version: 3.4.0-dev.20190222 Search Terms: Crash, OOM, infinite Code Across a few files - self-contained repro at https://github.com/jdhuntington/tsc-repro Expected behavior: This is a tr...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamejdhuntington
hostnamegithub.com
expected-hostnamegithub.com
Nonecc5dfdd32f62ebd3223cab3af3aa2b268d3605218237326a48a99d1efd89495c
turbo-cache-controlno-preview
go-importgithub.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git
octolytics-dimension-user_id6154722
octolytics-dimension-user_loginmicrosoft
octolytics-dimension-repository_id20929025
octolytics-dimension-repository_nwomicrosoft/TypeScript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id20929025
octolytics-dimension-repository_network_root_nwomicrosoft/TypeScript
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
release8c77c9e8439031ad54c75a250694842892f693e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/30050#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F30050
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%2Fmicrosoft%2FTypeScript%2Fissues%2F30050
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=microsoft%2FTypeScript
Reloadhttps://github.com/microsoft/TypeScript/issues/30050
Reloadhttps://github.com/microsoft/TypeScript/issues/30050
Reloadhttps://github.com/microsoft/TypeScript/issues/30050
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests312 (312)https://github.com/microsoft/TypeScript/pulls
Actionshttps://github.com/microsoft/TypeScript/actions
Projectshttps://github.com/microsoft/TypeScript/projects
Wikihttps://github.com/microsoft/TypeScript/wiki
Security and qualityhttps://github.com/microsoft/TypeScript/security
Insightshttps://github.com/microsoft/TypeScript/insights
https://github.com/microsoft/TypeScript
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/30050
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/30050
#31572https://github.com/microsoft/TypeScript/pull/31572
tsc crash with node OOMhttps://github.com/microsoft/TypeScript/issues/30050#top
#31572https://github.com/microsoft/TypeScript/pull/31572
https://github.com/weswigham
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
CrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Crash%22
Domain: PerformancePerformance relatedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Performance%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
TypeScript 3.5.0https://github.com/microsoft/TypeScript/milestone/89
https://github.com/jdhuntington
JD Huntington (jdhuntington)https://github.com/jdhuntington
on Feb 22, 2019https://github.com/microsoft/TypeScript/issues/30050#issue-413529400
https://github.com/jdhuntington/tsc-reprohttps://github.com/jdhuntington/tsc-repro
#29597https://github.com/microsoft/TypeScript/issues/29597
#29326https://github.com/microsoft/TypeScript/issues/29326
Wesley Wigham (weswigham)https://github.com/weswigham
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
CrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Crash%22
Domain: PerformancePerformance relatedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Performance%22
on Feb 22, 2019https://github.com/microsoft/TypeScript/issues/30050#event-2159053821
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Ron Buckton (rbuckton)https://github.com/rbuckton
on Feb 27, 2019https://github.com/microsoft/TypeScript/issues/30050#event-2169484669
https://github.com/g1na1011
Gina (g1na1011)https://github.com/g1na1011
on Mar 2, 2019https://github.com/microsoft/TypeScript/issues/30050#issuecomment-468956398
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Backloghttps://github.com/microsoft/TypeScript/milestone/29
on Mar 14, 2019https://github.com/microsoft/TypeScript/issues/30050#event-2204267203
https://github.com/maxdeviant
Marshall Bowers (maxdeviant)https://github.com/maxdeviant
on Apr 2, 2019https://github.com/microsoft/TypeScript/issues/30050#issuecomment-479227382
Ryan Cavanaugh (@RyanCavanaugh)https://github.com/RyanCavanaugh
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
on Apr 3, 2019https://github.com/microsoft/TypeScript/issues/30050#issuecomment-479280521
JD Huntington (@jdhuntington)https://github.com/jdhuntington
https://github.com/maxdeviant
Marshall Bowers (maxdeviant)https://github.com/maxdeviant
on Apr 3, 2019https://github.com/microsoft/TypeScript/issues/30050#issuecomment-479484668
Ron Buckton (@rbuckton)https://github.com/rbuckton
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
on Apr 3, 2019https://github.com/microsoft/TypeScript/issues/30050#issuecomment-479584800
https://github.com/rbuckton
Ron Buckton (rbuckton)https://github.com/rbuckton
on Apr 3, 2019https://github.com/microsoft/TypeScript/issues/30050#issuecomment-479610219
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Wesley Wigham (weswigham)https://github.com/weswigham
Ron Buckton (rbuckton)https://github.com/rbuckton
on Apr 3, 2019https://github.com/microsoft/TypeScript/issues/30050#event-2250884962
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Backloghttps://github.com/microsoft/TypeScript/milestone/29
TypeScript 3.5.0https://github.com/microsoft/TypeScript/milestone/89
on Apr 3, 2019https://github.com/microsoft/TypeScript/issues/30050#event-2250885222
https://github.com/maxdeviant
Marshall Bowers (maxdeviant)https://github.com/maxdeviant
on May 20, 2019https://github.com/microsoft/TypeScript/issues/30050#issuecomment-494066799
this onehttps://github.com/microsoft/TypeScript/issues/30050#issuecomment-479610219
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on May 22, 2019https://github.com/microsoft/TypeScript/issues/30050#issuecomment-494910991
without involving react or jsxhttps://gist.github.com/weswigham/1d0564caf845f0c27c8314855dbd52aa
doesn't rely on union call resolution in its constructionhttps://gist.github.com/weswigham/bf7372d493ad371887a8fc29e3472cb9
minimum sizehttps://gist.github.com/weswigham/0fbc5d52660295427d1d0792fe205e0d
#31486https://github.com/microsoft/TypeScript/pull/31486
https://github.com/ahejlsberg
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
on May 23, 2019https://github.com/microsoft/TypeScript/issues/30050#issuecomment-495412896
#31572https://github.com/microsoft/TypeScript/pull/31572
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#31572https://github.com/microsoft/TypeScript/pull/31572
on May 24, 2019https://github.com/microsoft/TypeScript/issues/30050#event-2364117259
Anders Hejlsberg (ahejlsberg)https://github.com/ahejlsberg
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
on May 24, 2019https://github.com/microsoft/TypeScript/issues/30050#event-2364117823
https://github.com/fatcerberus
Bruce Pascoe (fatcerberus)https://github.com/fatcerberus
on May 24, 2019https://github.com/microsoft/TypeScript/issues/30050#issuecomment-495799791
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on May 24, 2019https://github.com/microsoft/TypeScript/issues/30050#issuecomment-495811369
https://github.com/fatcerberus
Bruce Pascoe (fatcerberus)https://github.com/fatcerberus
on May 31, 2019https://github.com/microsoft/TypeScript/issues/30050#issuecomment-497527620
Wesley Wigham (@weswigham)https://github.com/weswigham
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on May 31, 2019https://github.com/microsoft/TypeScript/issues/30050#issuecomment-497555103
microsofthttps://github.com/microsoft
on Oct 21, 2025https://github.com/microsoft/TypeScript/issues/30050#event-20415905429
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/30050
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/30050
Wesley Wigham (weswigham)https://github.com/weswigham
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
CrashFor flagging bugs which are compiler or service crashes or unclean exits, rather than bad outputhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Crash%22
Domain: PerformancePerformance relatedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Performance%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
TypeScript 3.5.0https://github.com/microsoft/TypeScript/milestone/89
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.