Title: TS memory management for large JS projects · Issue #33629 · microsoft/TypeScript · GitHub
Open Graph Title: TS memory management for large JS projects · Issue #33629 · microsoft/TypeScript
X Title: TS memory management for large JS projects · Issue #33629 · microsoft/TypeScript
Description: VSCode Version: 1.38.1 OS Version: Win10 1809 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...
Open Graph Description: VSCode Version: 1.38.1 OS Version: Win10 1809 When opening large JS project intellisense stops working after receing an error notification "To enable project-wide JavaScript/TypeScript language fea...
X Description: VSCode Version: 1.38.1 OS Version: Win10 1809 When opening large JS project intellisense stops working after receing an error notification "To enable project-wide JavaScript/TypeScript languag...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/33629
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"TS memory management for large JS projects","articleBody":"\u003c!-- Please search existing issues to avoid creating duplicates. -->\r\n\u003c!-- Also please test using the latest insiders build to make sure your issue has not already been fixed: https://code.visualstudio.com/insiders/ -->\r\n\r\n\u003c!-- Use Help > Report Issue to prefill these. -->\r\n- VSCode Version: 1.38.1\r\n- OS Version: Win10 1809\r\n\r\nWhen opening large JS project intellisense stops working after receing an error notification \r\n\"**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. \r\n\r\nI have excluded any large external forlders in my `jscondig.json`\r\n```\r\n{\r\n \"compilerOptions\": {\r\n \"baseUrl\": \".\",\r\n \"paths\": { ... some paths } \r\n },\r\n \"exclude\": [\r\n \"node_modules\",\r\n \"**/node_modules/*\",\r\n \"dist\",\r\n \"build\",\r\n \"docs\",\r\n \"functional-tests\",\r\n \"**/.cache-loader/*\"\r\n ]\r\n}\r\n\r\n```\r\n\r\n`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?? \r\n\r\n\r\n","author":{"url":"https://github.com/drkn","@type":"Person","name":"drkn"},"datePublished":"2019-09-26T20:23:12Z","url":"https://github.com/microsoft/TypeScript/issues/33629"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:f4e11088-2899-db3c-22fa-5d47cb5a1a5c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B734:2564F:EC277F:138233B:6B0101B1 |
| html-safe-nonce | dcf723e5628eb4ff8df2f78d6aace4b4e7f4a1739b34ecb95dc194199cbee086 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCNzM0OjI1NjRGOkVDMjc3RjoxMzgyMzNCOjZCMDEwMUIxIiwidmlzaXRvcl9pZCI6Ijc1NjM1OTc3MzY4ODU0MjA0NjUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 8f3b498fcf9108af67598610f31d5bd53477e5daf296710b0311f1c71f80f414 |
| hovercard-subject-tag | issue:499164899 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/33629/issue_layout |
| twitter:image | https://opengraph.githubassets.com/d4f72c2fb66af0bc9e1fb583ace3909f2f2f6528655bd13a8123782344c254e6/microsoft/TypeScript/issues/33629 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/d4f72c2fb66af0bc9e1fb583ace3909f2f2f6528655bd13a8123782344c254e6/microsoft/TypeScript/issues/33629 |
| og:image:alt | VSCode Version: 1.38.1 OS Version: Win10 1809 When opening large JS project intellisense stops working after receing an error notification "To enable project-wide JavaScript/TypeScript language fea... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | drkn |
| hostname | github.com |
| expected-hostname | github.com |
| None | cb7fa109eca7d4156c889f474306b0e91336055e9adf8fd4684b61e49094d124 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 2b59d31a4e44f08b7af67a4b67f8fd0af3befe2a |
| ui-target | canary-2 |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width