{"action":"created","issue":{"url":"https://api.github.com/repos/buehler/typescript-hero/issues/463","repository_url":"https://api.github.com/repos/buehler/typescript-hero","labels_url":"https://api.github.com/repos/buehler/typescript-hero/issues/463/labels{/name}","comments_url":"https://api.github.com/repos/buehler/typescript-hero/issues/463/comments","events_url":"https://api.github.com/repos/buehler/typescript-hero/issues/463/events","html_url":"https://github.com/buehler/typescript-hero/issues/463","id":350588694,"node_id":"MDU6SXNzdWUzNTA1ODg2OTQ=","number":463,"title":"[Bug] Breaks VSCode","user":{"login":"Cosmet","id":25429080,"node_id":"MDQ6VXNlcjI1NDI5MDgw","avatar_url":"https://avatars3.githubusercontent.com/u/25429080?v=4","gravatar_id":"","url":"https://api.github.com/users/Cosmet","html_url":"https://github.com/Cosmet","followers_url":"https://api.github.com/users/Cosmet/followers","following_url":"https://api.github.com/users/Cosmet/following{/other_user}","gists_url":"https://api.github.com/users/Cosmet/gists{/gist_id}","starred_url":"https://api.github.com/users/Cosmet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Cosmet/subscriptions","organizations_url":"https://api.github.com/users/Cosmet/orgs","repos_url":"https://api.github.com/users/Cosmet/repos","events_url":"https://api.github.com/users/Cosmet/events{/privacy}","received_events_url":"https://api.github.com/users/Cosmet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-08-14T20:38:30Z","updated_at":"2018-08-14T23:57:25Z","closed_at":null,"author_association":"NONE","body":"#### System information\r\n\r\n- OS: MacOS High Sierra 10.13.6\r\n- TypeScript Hero version: 2.3.2\r\n- VSCode version: 1.26.0\r\n\r\n#### Description\r\n\r\nOut of nowhere, my VSCode started crashing today. I narrowed it down to Typescript Hero causing this issue and it causes all extensions, auto-formatting, tabs, and intellisense to stop working.\r\nWith this message: 'Extension host terminated unexpectedly.'\r\nThe TSH Resolver seems to hang there and never resolves.\r\nWhen I enable the extension a Code Helper process shows up using a little over 2GB of memory. \r\nIt seems to only happen in one project where the total folder size is 1.4GB.\r\n\r\nThis issue seems closely related: https://github.com/buehler/typescript-hero/issues/331"},"comment":{"url":"https://api.github.com/repos/buehler/typescript-hero/issues/comments/413052639","html_url":"https://github.com/buehler/typescript-hero/issues/463#issuecomment-413052639","issue_url":"https://api.github.com/repos/buehler/typescript-hero/issues/463","id":413052639,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzA1MjYzOQ==","user":{"login":"nicholas-evans","id":2036800,"node_id":"MDQ6VXNlcjIwMzY4MDA=","avatar_url":"https://avatars3.githubusercontent.com/u/2036800?v=4","gravatar_id":"","url":"https://api.github.com/users/nicholas-evans","html_url":"https://github.com/nicholas-evans","followers_url":"https://api.github.com/users/nicholas-evans/followers","following_url":"https://api.github.com/users/nicholas-evans/following{/other_user}","gists_url":"https://api.github.com/users/nicholas-evans/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholas-evans/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholas-evans/subscriptions","organizations_url":"https://api.github.com/users/nicholas-evans/orgs","repos_url":"https://api.github.com/users/nicholas-evans/repos","events_url":"https://api.github.com/users/nicholas-evans/events{/privacy}","received_events_url":"https://api.github.com/users/nicholas-evans/received_events","type":"User","site_admin":false},"created_at":"2018-08-14T23:57:25Z","updated_at":"2018-08-14T23:57:25Z","author_association":"NONE","body":"I also had a similar issue where VSCode would just freeze after the latest update. After a while it would tell me  `Extension Host terminated unexpectedly`. From looking in the developer console, I think the this extension was looking through all the node modules for `CodeCompletion` and that was leading to `FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory`.\r\n\r\n![image](https://user-images.githubusercontent.com/2036800/44124626-ca97f0d4-9ff3-11e8-9e1b-d46479844788.png)\r\n\r\nDisabling typescript-hero got me back to a working VSCode."}}
{"actor":{"display_login":"nicholas-evans"}}