René's URL Explorer Experiment


Title: Extra long code compilation whitch finished with "memory leak" report after ~20min · Issue #42937 · microsoft/TypeScript · GitHub

Open Graph Title: Extra long code compilation whitch finished with "memory leak" report after ~20min · Issue #42937 · microsoft/TypeScript

X Title: Extra long code compilation whitch finished with "memory leak" report after ~20min · Issue #42937 · microsoft/TypeScript

Description: This issue started here: TypeStrong/fork-ts-checker-webpack-plugin#569 Current behavior Make file: Api.ts /* eslint-disable */ /* tslint:disable */ import { HttpClient } from "./http-client"; export class Api ...

Open Graph Description: This issue started here: TypeStrong/fork-ts-checker-webpack-plugin#569 Current behavior Make file: Api.ts /* eslint-disable */ /* tslint:disable */ import { HttpClient } from "./http-client"; expor...

X Description: This issue started here: TypeStrong/fork-ts-checker-webpack-plugin#569 Current behavior Make file: Api.ts /* eslint-disable */ /* tslint:disable */ import { HttpClient } from "./http-client&qu...

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

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Extra long code compilation whitch finished with \"memory leak\" report after ~20min","articleBody":"This issue started here: https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/569\r\n\r\n## Current behavior\r\n\r\nMake file: `Api.ts`\r\n\r\n```typescript\r\n/* eslint-disable */\r\n/* tslint:disable */\r\nimport { HttpClient } from \"./http-client\";\r\n\r\nexport class Api\u003cSecurityDataType = unknown> {\r\n  constructor(private http: HttpClient\u003cSecurityDataType>) {}\r\n\r\n    abc1 = () => this.http.request();\r\n    abc2 = () => this.http.request();\r\n    abc3 = () => this.http.request();\r\n}\r\n```\r\n\r\nand `http-client.ts`\r\n\r\n```typescript\r\n/* eslint-disable */\r\n/* tslint:disable */\r\n\r\n/** Overrided Promise type. Needs for additional typings of `.catch` callback */\r\ntype TPromise\u003cResolveType, RejectType = any> = Omit\u003cPromise\u003cResolveType>, \"then\" | \"catch\"> & {\r\n  then\u003cTResult1 = ResolveType, TResult2 = never>(\r\n    onfulfilled?: ((value: ResolveType) => TResult1 | PromiseLike\u003cTResult1>) | undefined | null,\r\n    onrejected?: ((reason: RejectType) => TResult2 | PromiseLike\u003cTResult2>) | undefined | null,\r\n  ): TPromise\u003cTResult1 | TResult2, RejectType>;\r\n  catch\u003cTResult = never>(\r\n    onrejected?: ((reason: RejectType) => TResult | PromiseLike\u003cTResult>) | undefined | null,\r\n  ): TPromise\u003cResolveType | TResult, RejectType>;\r\n};\r\n\r\nexport interface HttpResponse\u003cD extends unknown, E extends unknown = unknown> extends Response {\r\n  data: D;\r\n  error: E;\r\n}\r\n\r\nexport class HttpClient\u003cSecurityDataType = unknown> {\r\n  public request = \u003cT = any, E = any>(): TPromise\u003cHttpResponse\u003cT, E>> => {\r\n    return '' as any;\r\n  };\r\n}\r\n```\r\n\r\ntry to compile, you will see that \"Issues checking in progress...\" process take extra long time ~15 sec.\r\nI dont know why, but if you Copy-Paste `http-client.ts` to `Api.ts` directly this check take \u003c1 sec.\r\n\r\nThis files make this lib https://github.com/acacode/swagger-typescript-api with ~1000 `this.http.request`, and each `this.http.request()` took ~7 sec of checking. When I do this in `intel i7` CPU, **after ~30 min of compiling I got error about `memory leak`.**\r\n\r\n**Video:** https://user-images.githubusercontent.com/3511307/108701953-4a842480-7511-11eb-9924-7f3c0c60acd0.mp4\r\n\r\n## Environment\r\n - **fork-ts-checker-webpack-plugin**: 6.1.0\r\n - **typescript**: 3.9.9\r\n - **eslint**: 6.8.0\r\n - **webpack**: 4.46.0\r\n - **os**: Linux mint 18.3 KDE\r\n\r\n**Tested on latest typescript 4.2.2** - same result.\r\n\r\nSame with `tsc --watch --noEmit`.\r\n\r\n**Video**: https://user-images.githubusercontent.com/3511307/108986783-2eac8a00-769b-11eb-9f9e-27f914830c8d.mp4","author":{"url":"https://github.com/mixalbl4-127","@type":"Person","name":"mixalbl4-127"},"datePublished":"2021-02-24T12:05:58Z","url":"https://github.com/microsoft/TypeScript/issues/42937"}

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:0f49a331-52b7-7970-37f9-bd364673a7cd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idBC4A:1EC9BC:307D07F:3DD90C2:6B01D1BE
html-safe-noncefdc2838db23b4b23cf8f2856c57b2c4569a278748d8b8199556cf2d90040a8ff
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzRBOjFFQzlCQzozMDdEMDdGOjNERDkwQzI6NkIwMUQxQkUiLCJ2aXNpdG9yX2lkIjoiODU1NzM3MDg3MzMxMTUxNTA3MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1ba4a5a5916cfb278b266d4fa09486191963334055a36b025ef924efb0a66630
hovercard-subject-tagissue:815415798
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/42937/issue_layout
twitter:imagehttps://opengraph.githubassets.com/190a9f339b18afa167ccfc8979e20aeca403eb5b1980131daca1ed3fc09d2284/microsoft/TypeScript/issues/42937
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/190a9f339b18afa167ccfc8979e20aeca403eb5b1980131daca1ed3fc09d2284/microsoft/TypeScript/issues/42937
og:image:altThis issue started here: TypeStrong/fork-ts-checker-webpack-plugin#569 Current behavior Make file: Api.ts /* eslint-disable */ /* tslint:disable */ import { HttpClient } from "./http-client"; expor...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemixalbl4-127
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/42937#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FTypeScript%2Fissues%2F42937
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%2F42937
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/42937
Reloadhttps://github.com/microsoft/TypeScript/issues/42937
Reloadhttps://github.com/microsoft/TypeScript/issues/42937
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/42937
New issuehttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/42937
#43973https://github.com/microsoft/TypeScript/pull/43973
Extra long code compilation whitch finished with "memory leak" report after ~20minhttps://github.com/microsoft/TypeScript/issues/42937#top
#43973https://github.com/microsoft/TypeScript/pull/43973
https://github.com/weswigham
Domain: Declaration EmitThe issue relates to the emission of d.ts fileshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Declaration%20Emit%22
Domain: PerformancePerformance relatedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Performance%22
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%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
TypeScript 4.3.1https://github.com/microsoft/TypeScript/milestone/138
https://github.com/mixalbl4-127
Mixal_bl4 (mixalbl4-127)https://github.com/mixalbl4-127
on Feb 24, 2021https://github.com/microsoft/TypeScript/issues/42937#issue-815415798
TypeStrong/fork-ts-checker-webpack-plugin#569https://github.com/TypeStrong/fork-ts-checker-webpack-plugin/issues/569
https://github.com/acacode/swagger-typescript-apihttps://github.com/acacode/swagger-typescript-api
https://user-images.githubusercontent.com/3511307/108701953-4a842480-7511-11eb-9924-7f3c0c60acd0.mp4https://user-images.githubusercontent.com/3511307/108701953-4a842480-7511-11eb-9924-7f3c0c60acd0.mp4
https://user-images.githubusercontent.com/3511307/108986783-2eac8a00-769b-11eb-9f9e-27f914830c8d.mp4https://user-images.githubusercontent.com/3511307/108986783-2eac8a00-769b-11eb-9f9e-27f914830c8d.mp4
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
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 Feb 24, 2021https://github.com/microsoft/TypeScript/issues/42937#event-4372558189
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
TypeScript 4.3.0https://github.com/microsoft/TypeScript/milestone/134
on Feb 24, 2021https://github.com/microsoft/TypeScript/issues/42937#event-4372558362
Ryan Cavanaugh (RyanCavanaugh)https://github.com/RyanCavanaugh
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Feb 24, 2021https://github.com/microsoft/TypeScript/issues/42937#event-4372558590
Andrew Branch (andrewbranch)https://github.com/andrewbranch
TypeScript 4.3.0https://github.com/microsoft/TypeScript/milestone/134
TypeScript 4.3.1https://github.com/microsoft/TypeScript/milestone/138
on Apr 2, 2021https://github.com/microsoft/TypeScript/issues/42937#event-4546271442
https://github.com/sheetalkamat
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Apr 27, 2021https://github.com/microsoft/TypeScript/issues/42937#issuecomment-827851029
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
Domain: Declaration EmitThe issue relates to the emission of d.ts fileshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Declaration%20Emit%22
on Apr 27, 2021https://github.com/microsoft/TypeScript/issues/42937#event-4652688553
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
Wesley Wigham (weswigham)https://github.com/weswigham
Sheetal Nandi (sheetalkamat)https://github.com/sheetalkamat
on Apr 27, 2021https://github.com/microsoft/TypeScript/issues/42937#event-4652688989
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on Apr 27, 2021https://github.com/microsoft/TypeScript/issues/42937#issuecomment-827863639
TypeScript Bot (typescript-bot)https://github.com/typescript-bot
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%22
on May 5, 2021https://github.com/microsoft/TypeScript/issues/42937#event-4691946416
https://github.com/weswigham
Wesley Wigham (weswigham)https://github.com/weswigham
on May 5, 2021https://github.com/microsoft/TypeScript/issues/42937#issuecomment-833107812
https://user-images.githubusercontent.com/2932786/117213802-ef906880-adb0-11eb-8902-cbb0e995f140.png
#30979https://github.com/microsoft/TypeScript/pull/30979
#43973https://github.com/microsoft/TypeScript/pull/43973
Wesley Wigham (weswigham)https://github.com/weswigham
Domain: PerformancePerformance relatedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Performance%22
on May 5, 2021https://github.com/microsoft/TypeScript/issues/42937#event-4691984851
Wesley Wigham (weswigham)https://github.com/weswigham
completedhttps://github.com/microsoft/TypeScript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#43973https://github.com/microsoft/TypeScript/pull/43973
on May 12, 2021https://github.com/microsoft/TypeScript/issues/42937#event-4738255894
Sign up for freehttps://github.com/signup?return_to=https://github.com/microsoft/TypeScript/issues/42937
Sign in to commenthttps://github.com/login?return_to=https://github.com/microsoft/TypeScript/issues/42937
Wesley Wigham (weswigham)https://github.com/weswigham
Domain: Declaration EmitThe issue relates to the emission of d.ts fileshttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Declaration%20Emit%22
Domain: PerformancePerformance relatedhttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Domain%3A%20Performance%22
Fix AvailableA PR has been opened for this issuehttps://github.com/microsoft/TypeScript/issues?q=state%3Aopen%20label%3A%22Fix%20Available%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
TypeScript 4.3.1https://github.com/microsoft/TypeScript/milestone/138
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.