-
Notifications
You must be signed in to change notification settings - Fork 12.8k
Extra long code compilation whitch finished with "memory leak" report after ~20min #42937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is issue with declaration emit and repros if you run Results in:
|
My initial takes just looking at the example: |
Yeah, my initial guess was spot on - |
This issue started here: TypeStrong/fork-ts-checker-webpack-plugin#569
Current behavior
Make file:
Api.ts
and
http-client.ts
try to compile, you will see that "Issues checking in progress..." process take extra long time ~15 sec.
I dont know why, but if you Copy-Paste
http-client.ts
toApi.ts
directly this check take <1 sec.This files make this lib https://github.com/acacode/swagger-typescript-api with ~1000
this.http.request
, and eachthis.http.request()
took ~7 sec of checking. When I do this inintel i7
CPU, after ~30 min of compiling I got error aboutmemory leak
.Video: https://user-images.githubusercontent.com/3511307/108701953-4a842480-7511-11eb-9924-7f3c0c60acd0.mp4
Environment
Tested on latest typescript 4.2.2 - same result.
Same with
tsc --watch --noEmit
.Video: https://user-images.githubusercontent.com/3511307/108986783-2eac8a00-769b-11eb-9f9e-27f914830c8d.mp4
The text was updated successfully, but these errors were encountered: