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
{{ message }}
Repository navigation
Editing TSX randomly makes the --type=extensionHost process use 100% CPU #21292
Edit <KeyboardAwareScrollView to <View, then edit any children (Form, View) leaving the </KeyboardAwareScrollView> opened, then change it back to <KeyboardAwareScrollView, after a few times, the process will start using 100% CPU. closing the editor won't close the child --type=extensionHost process, and typing on the editor becomes sluggish, all Typescript suggestions stop working
Matt Bierner (@mjbvz) Yes, I managed to make the external process hang ONCE with all the extensions disabled, but it was a crazy non-sense typing (which I guess wouldn't apply in normal conditions). I couldn't reproduce it again with disabled extensions, but could reproduce it everytime with both extensions (either both enable, or either one, Auto close tag and React Native Tools)
I have the same problem on Ubuntu Linux, vs-code version:1.10.1-1488415350this also happened with previous versions of vs code but it's much more frequent in the newer version
Typing Angular2 code causes the problem, when this happens, intellisense stops completely ( just displays Loading... ) first process:
The process keeps running even after closing vs code, together with (but after I kill the first process they go away ):
my insiders, when having TS files open, usually keep a lowish but constant CPU usage, but when using many editors opened at the same time, they add up and the system really take a hit (1-2 cores in use for 30%ish CPU)
this screenshot is when "idle", not typing or doing anything
Activity
pocesar commentedon Feb 23, 2017
just happened in a much smaller repro code
in task manager
pocesar commentedon Feb 23, 2017
This one became a blocker, everytime when dealing with children of React Native elements, it happens. having to restart the editor every 10 minutes
mjbvz commentedon Feb 23, 2017
Paulo Cesar (@pocesar) Does this still happen if you disable all extensions?
pocesar commentedon Feb 23, 2017
Yes, but it's harder to reproduce, so some pipes might being clogged (using with --disable-extensions)
I'm trying to individually enable / disable each extension to see which makes it worse
EDIT: ok, both
Auto close tagandReact Native Toolsmake it hang when starting writing TSX (with <) and trying to press Ctrl + Spacemjbvz commentedon Feb 24, 2017
Paulo Cesar (@pocesar) So do you still see this after disabling all extensions?
If you do, please try collecting a trace of the TypeScript Server when this occurs. Here's information on to do this using the TSS_LOG environment variable: https://github.com/Microsoft/TypeScript/wiki/Standalone-Server-%28tsserver%29#logging
From a command line, run:
Reproduce the problem in VSCode and then share the
c:\tmp\tsserver.logfileLet me know if you have any questions about this.
Thanks
pocesar commentedon Feb 24, 2017
Matt Bierner (@mjbvz) Yes, I managed to make the external process hang ONCE with all the extensions disabled, but it was a crazy non-sense typing (which I guess wouldn't apply in normal conditions). I couldn't reproduce it again with disabled extensions, but could reproduce it everytime with both extensions (either both enable, or either one,
Auto close tagandReact Native Tools)shakram02 commentedon Mar 3, 2017
I have the same problem on Ubuntu Linux, vs-code version:





1.10.1-1488415350this also happened with previous versions of vs code but it's much more frequent in the newer versionTyping Angular2 code causes the problem, when this happens, intellisense stops completely ( just displays Loading... )
first process:
The process keeps running even after closing vs code, together with (but after I kill the first process they go away ):
pocesar commentedon Jun 16, 2017
my insiders, when having TS files open, usually keep a lowish but constant CPU usage, but when using many editors opened at the same time, they add up and the system really take a hit (1-2 cores in use for 30%ish CPU)
this screenshot is when "idle", not typing or doing anything
pocesar commentedon Sep 13, 2017
this seems to have been fixed in latest insiders, although TS in watch mode always make the shell responsiveness inside the editor worst
mjbvz commentedon Sep 13, 2017
Ok, thank you for the followup. I'm not sure what fixed this on the TS side but I'm glad you are no longer seeing this issue