I have experienced a performance degradation microsoft/TypeScript#61400 caused by TS.
I am not sure if it is a bug on their side or if I have actually reached the TS server memory limit.
Regardless, I would like to suggest that VSCode shows a notification that the process is about to reach the limit of allocated memory with a link to docs, to open an issue on TS etc.
Currently VSCode shows other notifications (because the process slows down) which led me to look for the issue in wrong places (e.g. "Organize Imports").
Problems that I've experienced:
- Saving a file took 30-60s
- Pasting took 30-60s or not completing
- IntelliSense took 30-60s to show simple info of a var on hover, autocomplete the same
Increasing the memory resolved my issue.
.vscode/settings.json:
"typescript.tsserver.maxTsServerMemory": 8192,
"typescript.tsserver.nodePath": "node --max-old-space-size=8192",
I have experienced a performance degradation microsoft/TypeScript#61400 caused by TS.
I am not sure if it is a bug on their side or if I have actually reached the TS server memory limit.
Regardless, I would like to suggest that VSCode shows a notification that the process is about to reach the limit of allocated memory with a link to docs, to open an issue on TS etc.
Currently VSCode shows other notifications (because the process slows down) which led me to look for the issue in wrong places (e.g. "Organize Imports").
Problems that I've experienced:
Increasing the memory resolved my issue.
.vscode/settings.json: