René's URL Explorer Experiment


Title: Infinite build regression in 3.2+ · Issue #29326 · microsoft/TypeScript · GitHub

Open Graph Title: Infinite build regression in 3.2+ · Issue #29326 · microsoft/TypeScript

X Title: Infinite build regression in 3.2+ · Issue #29326 · microsoft/TypeScript

Description: TypeScript Version: 3.2.1 - 3.3.0-dev.20190108 Search Terms: infinite, build, memory Code this is something I need help to narrow down Expected behavior: project built successfully as it is done in TSC 3.1.6 and below Actual behavior: no...

Open Graph Description: TypeScript Version: 3.2.1 - 3.3.0-dev.20190108 Search Terms: infinite, build, memory Code this is something I need help to narrow down Expected behavior: project built successfully as it is done in...

X Description: TypeScript Version: 3.2.1 - 3.3.0-dev.20190108 Search Terms: infinite, build, memory Code this is something I need help to narrow down Expected behavior: project built successfully as it is done in...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Infinite build regression in 3.2+","articleBody":"**TypeScript Version:**  3.2.1 - 3.3.0-dev.20190108\r\n\r\n**Search Terms:**\r\ninfinite, build, memory\r\n\r\n**Code**\r\n\r\nthis is something I need help to narrow down\r\n\r\n**Expected behavior:**\r\n\r\nproject built successfully as it is done in TSC 3.1.6 and below\r\n\r\n**Actual behavior:**\r\n\r\nnode.exe allocates memory in ~300Mb chunks and release about 280Mb of it repeatedly leading to OOM after some time\r\nIssue occurs after `error check` stage, because if project has build errors, it stops after errors repored.\r\n\r\n** tsconfig **\r\n\r\ntsconfig:\r\n```json\r\n{\r\n    \"extends\": \"../tsconfig\",\r\n    \"include\": [\r\n        \"../definitions/ts/*.d.ts\"\r\n    ],\r\n    \"files\": [\r\n        \"../definitions/includes.ts\",\r\n        \"../external/root.ts\",\r\n        \"root.ts\"\r\n    ],\r\n    \"compilerOptions\": {\r\n        \"types\": [ \"jquery\", \"kendo-ui\", \"jstimezonedetect\" ]\r\n    }\r\n}\r\n```\r\nparent tsconfig:\r\n```json\r\n{\r\n    \"compileOnSave\": false,\r\n    \"compilerOptions\": {\r\n        \"typeRoots\": [ \"../../../../node_modules/@types/\" ],\r\n        \"noEmitOnError\": true,\r\n        \"noUnusedLocals\": true,\r\n        \"noUnusedParameters\": true,\r\n        \"removeComments\": true,\r\n        \"target\": \"es5\",\r\n        \"strict\": true,\r\n        \"noImplicitReturns\": true,\r\n        \"noFallthroughCasesInSwitch\": true,\r\n        \"forceConsistentCasingInFileNames\": true,\r\n        \"noErrorTruncation\": true,\r\n        \"allowJs\": true,\r\n        \"lib\": [\r\n            \"dom\",\r\n            \"es5\"\r\n        ],\r\n        \"stripInternal\": true,\r\n        \"declaration\": false,\r\n        \"jsx\": \"react\",\r\n        \"jsxFactory\": \"Templates.compile\"\r\n    }\r\n}\r\n```\r\nGuys, I think I need some help narrowing down this issue/repro. I can attach to build using debugger, but because it looks like some iterative process and call stack doesn't give me any idea where to look as I'm not really familiar with tsc internals - I think I need some directions what I should check.\r\n\r\nRandom stacktraces:\r\n```\r\n    at updateLineCountAndPosFor (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:11048:42)\r\n    at Object.write (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:11066:17)\r\n    at writePunctuation (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:84291:20)\r\n    at emitTypeLiteral (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:82616:13)\r\n    at pipelineEmitWithHint (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:82003:32)\r\n    at emit (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:81882:13)\r\n    at emitFunctionType (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:82574:13)\r\n    at pipelineEmitWithHint (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:81995:32)\r\n    at emit (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:81882:13)\"\r\n```\r\n```\r\n    at writeTrailingSemicolon (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:84293:40)\r\n    at emitPropertySignature (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:82476:13)\r\n    at pipelineEmitWithHint (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:81971:32)\r\n    at emit (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:81882:13)\r\n    at emitNodeList (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:84233:21)\r\n    at emitList (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:84108:13)\r\n    at emitTypeLiteral (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:82615:13)\r\n    at pipelineEmitWithHint (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:82003:32)\r\n    at emit (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:81882:13)\"\r\n```\r\n```\r\n    at pipelineEmitWithHint (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:81931:38)\r\n    at emit (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:81882:13)\r\n    at emitNodeList (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:84233:21)\r\n    at emitList (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:84108:13)\r\n    at emitTypeLiteral (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:82615:13)\r\n    at pipelineEmitWithHint (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:82003:32)\r\n    at emit (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:81882:13)\r\n    at emitFunctionType (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:82574:13)\r\n    at pipelineEmitWithHint (c:\\Perforce\\node_modules\\typescript\\lib\\typescript.js:81995:32)\"\r\n```","author":{"url":"https://github.com/MaceWindu","@type":"Person","name":"MaceWindu"},"datePublished":"2019-01-09T16:15:19Z","url":"https://github.com/microsoft/TypeScript/issues/29326"}

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:91799038-eaf5-bd47-efac-33459c7ad493
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idB834:21BD98:19B6348:2092C34:6B018373
html-safe-noncee78a18a58519e629f3f241092418bc433d234305fb8d331981db2aab0132028a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODM0OjIxQkQ5ODoxOUI2MzQ4OjIwOTJDMzQ6NkIwMTgzNzMiLCJ2aXNpdG9yX2lkIjoiNTgyMDg0ODYzMTIxNjk2NDQ2NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac0f7e8f8db95c8296bfbd79de62dfa6521cbf481166aa9505f2d1f0b4a0a2098b
hovercard-subject-tagissue:397444714
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/29326/issue_layout
twitter:imagehttps://opengraph.githubassets.com/92f7e5baf5d68e34df98b4e19ed79b7f0ff55532ac598946003d39306a327728/microsoft/TypeScript/issues/29326
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/92f7e5baf5d68e34df98b4e19ed79b7f0ff55532ac598946003d39306a327728/microsoft/TypeScript/issues/29326
og:image:altTypeScript Version: 3.2.1 - 3.3.0-dev.20190108 Search Terms: infinite, build, memory Code this is something I need help to narrow down Expected behavior: project built successfully as it is done in...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMaceWindu
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-targetcanary-1
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/29326#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F29326
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%2F29326
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/29326
Reloadhttps://github.com/microsoft/TypeScript/issues/29326
Reloadhttps://github.com/microsoft/TypeScript/issues/29326
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/29326
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/29326
Infinite build regression in 3.2+https://github.com/microsoft/TypeScript/issues/29326#top
Needs More InfoThe issue still hasn't been fully clarifiedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20More%20Info%22
https://github.com/MaceWindu
MaceWinduhttps://github.com/MaceWindu
on Jan 9, 2019https://github.com/microsoft/TypeScript/issues/29326#issue-397444714
https://github.com/MaceWindu
MaceWinduhttps://github.com/MaceWindu
on Jan 9, 2019https://github.com/microsoft/TypeScript/issues/29326#issuecomment-452758430
https://user-images.githubusercontent.com/1099238/50912832-54cb2d80-1433-11e9-978d-dadcee584f26.png
https://github.com/MaceWindu
MaceWinduhttps://github.com/MaceWindu
on Jan 9, 2019https://github.com/microsoft/TypeScript/issues/29326#issuecomment-452759276
https://github.com/MaceWindu
MaceWinduhttps://github.com/MaceWindu
on Jan 9, 2019https://github.com/microsoft/TypeScript/issues/29326#issuecomment-452761185
https://github.com/MaceWindu
MaceWinduhttps://github.com/MaceWindu
on Jan 9, 2019https://github.com/microsoft/TypeScript/issues/29326#issuecomment-452765409
https://github.com/MaceWindu
MaceWinduhttps://github.com/MaceWindu
on Jan 9, 2019https://github.com/microsoft/TypeScript/issues/29326#issuecomment-452782706
Wesley Wigham (weswigham)https://github.com/weswigham
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
on Jan 9, 2019https://github.com/microsoft/TypeScript/issues/29326#event-2063830703
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Jan 9, 2019https://github.com/microsoft/TypeScript/issues/29326#issuecomment-452800917
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Needs More InfoThe issue still hasn't been fully clarifiedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20More%20Info%22
Needs InvestigationThis issue needs a team member to investigate its status.https://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20Investigation%22
on Aug 23, 2019https://github.com/microsoft/TypeScript/issues/29326#event-2578357788
https://github.com/RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
on Aug 23, 2019https://github.com/microsoft/TypeScript/issues/29326#issuecomment-524150698
https://github.com/MaceWindu
MaceWinduhttps://github.com/MaceWindu
on Aug 23, 2019https://github.com/microsoft/TypeScript/issues/29326#issuecomment-524208874
issue29326.ziphttps://github.com/microsoft/TypeScript/files/3533304/issue29326.zip
MaceWinduhttps://github.com/MaceWindu
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Aug 23, 2019https://github.com/microsoft/TypeScript/issues/29326#event-2578810308
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/29326
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/29326
Needs More InfoThe issue still hasn't been fully clarifiedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Needs%20More%20Info%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.