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
This is copied from the card in Trello for tracking in Waffle.
Tern will sometimes spiral out of control on certain JavaScript files. This causes tremendously slowed down performance (because Tern will consume 100% of CPU at those times) and eventually a crash because memory is completely consumed.
We want to automatically stop hinting for these problematic files.
Once we've done this, we can probably remove the line count limit because the problems we see are less likely about number of lines and more likely about the nature of the JS being analyzed.
Criteria
Detect that a file has caused Tern to enter this state
Terminate the worker (ideally, if this is not possibly, detect the problem at startup)
Notify the user that hinting is being turned off for the JS file and suggest that they consider reporting an issue.
save an exclusion to .brackets.json
Experiment with removing the LARGE_LINE_COUNT maximum
Monday Jul 07, 2014 at 16:42 GMT
Originally opened as adobe/brackets#8326
This is copied from the card in Trello for tracking in Waffle.
Tern will sometimes spiral out of control on certain JavaScript files. This causes tremendously slowed down performance (because Tern will consume 100% of CPU at those times) and eventually a crash because memory is completely consumed.
We want to automatically stop hinting for these problematic files.
Once we've done this, we can probably remove the line count limit because the problems we see are less likely about number of lines and more likely about the nature of the JS being analyzed.
Criteria
LARGE_LINE_COUNT
maximumRelated Bugs
This list, at least. There are certainly more:
The text was updated successfully, but these errors were encountered: