You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
40% CPU and Gigs of memory used parsing a map #38993
I have a large map. That appears to make TypeScript crazy. I'm not sure if there's a way to disable processing on a per file basis. This issue does not happen when using JSON instead of a map.
Activity
KuromiAK commentedon Nov 26, 2017
Change the code in this way seems to help?
bootstraponline commentedon Nov 26, 2017
This helped the most. I'm not sure what causes gigs of memory usage. Maybe giant arrays in the constructor is an edge case.
mjbvz commentedon Nov 27, 2017
This issue was moved to microsoft/TypeScript#20279