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
2.6 takes a very long time to --watch on large projects #19253
After adding an unused public method to a class, it should eventually finish compilation.
Actual behavior:
After >10 minutes of waiting a few times, I've terminated the process. I've also tried reinstalling 2.6.0-rc.
Side note: on a smaller project of 28 items, with identical tsconfig settings (except that strictNullChecks is on), recompilation from adding an unused public method to a class went from ~1000ms average over 5 runs to 1500ms average (measured from the time TS outputs the File_change_detected_Starting_incremental_compilation diagnostic to the time it outputs the Compilation_complete_Watching_for_file_changes diagnostic).
The code isn't open source so I can't post it here, but I have emailed a few TypeScript team members instructions on how to get to it before (Office Sway).
Activity
mhegazy commentedon Oct 17, 2017
Josh Ghoulberg 👻 (@JoshuaKGoldberg) can you share the project info with Sheetal Nandi (@sheetalkamat) and myself?
JoshuaKGoldberg commentedon Oct 17, 2017
Sure!
Also, sure enough, right after I posted this issue, two long-running watchers ended up in out-of-memory heap failures.
tolgaek commentedon Dec 22, 2017
I'm experiencing same error with v2.6.2. It only seems to happen after a file has changed
aldendaniels commentedon Jan 10, 2018
Also experiencing this issue. Added comment to related issue #19662
mhegazy commentedon Jan 10, 2018
Alden Daniels (@aldendaniels) please file a new issue and give us more information to help diagnose the issue. ideally a sample project.