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
TS memory management for large JS projects #33629
Comments
@drkn you can check this comment first and then this one This is still on my to-do list and I was planning to prepare draft next week. |
For VS Code to analyze a project, the total size of JS under analysis generally needs to be under 20 MB. You can create |
This issue has been marked as 'Question' and has seen no recent activity. It has been automatically closed for house-keeping purposes. If you're still waiting on a response, questions are usually better suited to stackoverflow. |
When opening large JS project intellisense stops working after receing an error notification
"To enable project-wide JavaScript/TypeScript language features, exclude large folders with source files that you do not work on.". My project contains of around 11k JS files (excluding node_modules - just project files) - around 50MB of source code.
I have excluded any large external forlders in my
jscondig.json
tsserver.log
doesn't show anything suspicious - just tons of watchers for files I would expect they should be there. No errors or whatsoever. I've seen tons of reports like this but without any real answers what is going on and how to fix it (#31188, microsoft/vscode#9594, microsoft/vscode#35549 to just point a few). There is a TS server issue reference in microsoft/vscode#35549 - to a max non TS file size limit hardcoded at 20MB. Is this the case? Can vscode handle projects larger that 20MB in total size??The text was updated successfully, but these errors were encountered: