René's URL Explorer Experiment


Title: Out of memory error when using ImmutableJS · Issue #17070 · microsoft/TypeScript · GitHub

Open Graph Title: Out of memory error when using ImmutableJS · Issue #17070 · microsoft/TypeScript

X Title: Out of memory error when using ImmutableJS · Issue #17070 · microsoft/TypeScript

Description: Simply importing the type definitions of ImmutableJS is enough to crash the compiler with an out of memory exception. TypeScript Version: 2.4.1 index.ts import 'immutable'; package.json { "private": true, "name": "scratch", "version": "0...

Open Graph Description: Simply importing the type definitions of ImmutableJS is enough to crash the compiler with an out of memory exception. TypeScript Version: 2.4.1 index.ts import 'immutable'; package.json { "private"...

X Description: Simply importing the type definitions of ImmutableJS is enough to crash the compiler with an out of memory exception. TypeScript Version: 2.4.1 index.ts import 'immutable'; package.json { &...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Out of memory error when using ImmutableJS","articleBody":"Simply importing the type definitions of ImmutableJS is enough to crash the compiler with an out of memory exception.\r\n\r\n**TypeScript Version:**  2.4.1\r\n\r\n**index.ts**\r\n```ts\r\nimport 'immutable';\r\n```\r\n\r\n**package.json**\r\n```json\r\n{\r\n  \"private\": true,\r\n  \"name\": \"scratch\",\r\n  \"version\": \"0.0.1\",\r\n  \"dependencies\": {\r\n    \"immutable\": \"4.0.0-rc.2\"\r\n  },\r\n  \"devDependencies\": {\r\n    \"typescript\": \"^2.4.1\"\r\n  },\r\n  \"scripts\": {\r\n    \"build\": \"tsc\"\r\n  }\r\n}\r\n\r\n```\r\n\r\n**tsconfig.json**\r\n```json\r\n{\r\n  \"compilerOptions\": {\r\n    \"declaration\": true,\r\n    \"noImplicitAny\": true,\r\n    \"noEmitOnError\": true,\r\n    \"noUnusedLocals\": true,\r\n    \"module\": \"commonjs\",\r\n    \"moduleResolution\": \"node\",\r\n    \"target\": \"ES5\",\r\n    \"lib\": [\"ES5\"],\r\n    \"types\": []\r\n  }\r\n}\r\n```\r\n\r\n**Expected behavior:**\r\n\r\n`npm run build` should execute cleanly.\r\n\r\n**Actual behavior:**\r\n\r\nOut of memory error:\r\n```\r\nE:\\Development\\sccolbert\\scratch>npm run build\r\n\r\n> scratch@0.0.1 build E:\\Development\\sccolbert\\scratch\r\n> tsc\r\n\r\n\r\n\u003c--- Last few GCs --->\r\n\r\n   24342 ms: Mark-sweep 1373.9 (1434.6) -> 1373.9 (1434.6) MB, 1130.9 / 0.0 ms [allocation failure] [GC in old space requested].\r\n   25469 ms: Mark-sweep 1373.9 (1434.6) -> 1373.7 (1434.6) MB, 1126.1 / 0.0 ms [allocation failure] [GC in old space requested].\r\n   26600 ms: Mark-sweep 1373.7 (1434.6) -> 1374.9 (1418.6) MB, 1131.4 / 0.0 ms [last resort gc].\r\n   27744 ms: Mark-sweep 1374.9 (1418.6) -> 1376.0 (1418.6) MB, 1143.2 / 0.0 ms [last resort gc].\r\n\r\n\r\n\u003c--- JS stacktrace --->\r\n\r\n==== JS stack trace =========================================\r\n\r\nSecurity context: 00000294DA0CFB61 \u003cJS Object>\r\n    1: getTypeOfSymbol [E:\\Development\\sccolbert\\scratch\\node_modules\\typescript\\lib\\tsc.js:~25490] [pc=000003AB5C58E243] (this=000000CA3E8662F9 \u003cJS Global Object>,symbol=000001704DD798E1 \u003ca Symbol with map 0000003478D59B29>)\r\n    2: forEachMatchingParameterType [E:\\Development\\sccolbert\\scratch\\node_modules\\typescript\\lib\\tsc.js:~30013] [pc=000003AB5C4F801C] (this=000000CA3E8662F9 \u003cJS Global ...\r\n\r\nFATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory\r\n```","author":{"url":"https://github.com/sccolbert","@type":"Person","name":"sccolbert"},"datePublished":"2017-07-10T19:45:18Z","url":"https://github.com/microsoft/TypeScript/issues/17070"}

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:25ab044a-3bd3-ec85-1493-878b55f9d08f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id85BC:24ACB9:F6A3A8:145503F:6B01021A
html-safe-noncedd643c80009ea172af67506f537b560b903f10d944132851b9c45199103cf805
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NUJDOjI0QUNCOTpGNkEzQTg6MTQ1NTAzRjo2QjAxMDIxQSIsInZpc2l0b3JfaWQiOiI3NTI3MDA5NTMzMjYxMDU0NDkwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac5876140a2ee36873269b6319805ec58232989076d8bdf0d470e004ed45541a16
hovercard-subject-tagissue:241825348
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/17070/issue_layout
twitter:imagehttps://opengraph.githubassets.com/409eee90af267346bf39371b863df8844a13a297cb05d821719fc6a7f9ff0437/microsoft/TypeScript/issues/17070
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/409eee90af267346bf39371b863df8844a13a297cb05d821719fc6a7f9ff0437/microsoft/TypeScript/issues/17070
og:image:altSimply importing the type definitions of ImmutableJS is enough to crash the compiler with an out of memory exception. TypeScript Version: 2.4.1 index.ts import 'immutable'; package.json { "private"...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamesccolbert
hostnamegithub.com
expected-hostnamegithub.com
Nonecb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124
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
release2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/microsoft/TypeScript/issues/17070#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F17070
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%2F17070
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/17070
Reloadhttps://github.com/microsoft/TypeScript/issues/17070
Reloadhttps://github.com/microsoft/TypeScript/issues/17070
microsofthttps://github.com/microsoft
TypeScripthttps://github.com/microsoft/TypeScript
Codehttps://github.com/microsoft/TypeScript
Issues5k (5k)https://github.com/microsoft/TypeScript/issues
Pull requests309 (309)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/17070
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/17070
#17984https://github.com/microsoft/TypeScript/pull/17984
Out of memory error when using ImmutableJShttps://github.com/microsoft/TypeScript/issues/17070#top
#17984https://github.com/microsoft/TypeScript/pull/17984
https://github.com/sandersn
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
High Priorityhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22High%20Priority%22
TypeScript 2.5.3https://github.com/microsoft/TypeScript/milestone/55
https://github.com/sccolbert
S. Chris Colbert (sccolbert)https://github.com/sccolbert
on Jul 10, 2017https://github.com/microsoft/TypeScript/issues/17070#issue-241825348
https://github.com/radix
Christopher Armstrong (radix)https://github.com/radix
on Jul 12, 2017https://github.com/microsoft/TypeScript/issues/17070#issuecomment-314832799
https://github.com/sccolbert
S. Chris Colbert (sccolbert)https://github.com/sccolbert
on Jul 12, 2017https://github.com/microsoft/TypeScript/issues/17070#issuecomment-314834302
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
on Jul 13, 2017https://github.com/microsoft/TypeScript/issues/17070#event-1161752408
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
TypeScript 2.5https://github.com/microsoft/TypeScript/milestone/49
on Jul 13, 2017https://github.com/microsoft/TypeScript/issues/17070#event-1161752451
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
on Jul 13, 2017https://github.com/microsoft/TypeScript/issues/17070#event-1161752511
https://github.com/mceachen
Matthew McEachen (mceachen)https://github.com/mceachen
on Jul 20, 2017https://github.com/microsoft/TypeScript/issues/17070#issuecomment-316857969
S. Chris Colbert (@sccolbert)https://github.com/sccolbert
#17097 (comment)https://github.com/microsoft/TypeScript/issues/17097#issuecomment-316857733
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
High Priorityhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22High%20Priority%22
on Aug 3, 2017https://github.com/microsoft/TypeScript/issues/17070#event-1192248036
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
on Aug 9, 2017https://github.com/microsoft/TypeScript/issues/17070#issuecomment-321326739
immutable-js/immutable-js#1285https://github.com/immutable-js/immutable-js/pull/1285
https://github.com/Pajn
Emma (Pajn)https://github.com/Pajn
on Aug 14, 2017https://github.com/microsoft/TypeScript/issues/17070#issuecomment-322123568
#15028https://github.com/microsoft/TypeScript/issues/15028
#17433https://github.com/microsoft/TypeScript/pull/17433
Daniel Rosenwasser (DanielRosenwasser)https://github.com/DanielRosenwasser
TypeScript 2.5https://github.com/microsoft/TypeScript/milestone/49
on Aug 15, 2017https://github.com/microsoft/TypeScript/issues/17070#event-1207385672
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
on Aug 16, 2017https://github.com/microsoft/TypeScript/issues/17070#issuecomment-322808641
Emma (@Pajn)https://github.com/Pajn
#15028https://github.com/microsoft/TypeScript/issues/15028
https://github.com/Pajn
Emma (Pajn)https://github.com/Pajn
on Aug 16, 2017https://github.com/microsoft/TypeScript/issues/17070#issuecomment-322821678
Nathan Shively-Sanders (@sandersn)https://github.com/sandersn
#17097 (comment)https://github.com/microsoft/TypeScript/issues/17097#issuecomment-316857733
https://github.com/sandersn
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
on Aug 21, 2017https://github.com/microsoft/TypeScript/issues/17070#issuecomment-323806492
#17947https://github.com/microsoft/TypeScript/pull/17947
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#17984https://github.com/microsoft/TypeScript/pull/17984
on Aug 23, 2017https://github.com/microsoft/TypeScript/issues/17070#event-1218578081
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
on Aug 23, 2017https://github.com/microsoft/TypeScript/issues/17070#event-1218648879
Mohamed Hegazy (mhegazy)https://github.com/mhegazy
TypeScript 2.5.2https://github.com/microsoft/TypeScript/milestone/54
TypeScript 2.5.3https://github.com/microsoft/TypeScript/milestone/55
on Aug 24, 2017https://github.com/microsoft/TypeScript/issues/17070#event-1220158891
microsofthttps://github.com/microsoft
on Jun 14, 2018https://github.com/microsoft/TypeScript/issues/17070#event-1682141645
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/17070
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/17070
Nathan Shively-Sanders (sandersn)https://github.com/sandersn
BugA bug in TypeScripthttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Bug%22
FixedA PR has been merged for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fixed%22
High Priorityhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22High%20Priority%22
TypeScript 2.5.3https://github.com/microsoft/TypeScript/milestone/55
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.