Skip to content

typingsInstaller process causing high CPU usage #19997

Closed

Description

  • VSCode Version: Code 1.9.0 (27240e7, 2017-02-02T08:23:30.856Z)
  • OS Version: Darwin x64 15.0.0

Steps to Reproduce:

  1. Open VSCode
  2. Open any project

image

chance           62309 100.0  0.7  3299276 116792   ??  R     9:40上午   7:38.12 /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/typescript/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/chance/Library/Caches/typescript --enableTelemetry
chance           62470   0.0  0.0  2434836    764 s002  R+    9:48上午   0:00.00 grep --color=auto --exclude-dir=.bzr --exclude-dir=CVS --exclude-dir=.git --exclude-dir=.hg --exclude-dir=.svn 62309
/Users/chance/code/rx/quality-suppliers
/Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework
/Applications/Visual Studio Code.app/Contents/Frameworks/Squirrel.framework/Versions/A/Squirrel
/Applications/Visual Studio Code.app/Contents/Frameworks/ReactiveCocoa.framework/Versions/A/ReactiveCocoa
/Applications/Visual Studio Code.app/Contents/Frameworks/Mantle.framework/Versions/A/Mantle
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libnode.dylib
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Libraries/libffmpeg.dylib
/System/Library/Frameworks/CoreMIDI.framework/Versions/A/CoreMIDI
/usr/lib/libexpat.1.dylib
/System/Library/CoreServices/Encodings/libSimplifiedChineseConverter.dylib
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/natives_blob.bin
/usr/share/icu/icudt55l.dat
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/icudtl.dat
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/snapshot_blob.bin
/usr/lib/dyld
/private/var/db/dyld/dyld_shared_cache_x86_64h
->0xdae4435dc2817847
->0xdae4435dc0bdde87
->0xdae4435dc94f2b6f
->0xdae4435dcd0ea527
count=2, state=0x12
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/icudtl.dat
->0xdae4435dbecc39cf
->0xdae4435dd935234f
count=1, state=0x8
->0xdae4435dd9351b0f
->0xdae4435dc47debcf
->0xdae4435dbecc354f
->0xdae4435dd6ad73cf
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/snapshot_blob.bin
/Applications/Visual Studio Code.app/Contents/Frameworks/Electron Framework.framework/Versions/A/Resources/natives_blob.bin
/dev/urandom
/dev/null

Activity

  1. ghost changed the title [-]High CPU usage[/-] [+]typingsInstaller process causing high CPU usage[/+] on Feb 6, 2017
  2. added
    bug
    javascript
    info-needed
    typescript
    on Feb 7, 2017
  3. mjbvz commented on Feb 7, 2017

    @mjbvz
    Contributor

    Thanks for the report.

    To help us investigate this, can you please try collecting some logs from 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 prompt, run:

    $ export TSS_LOG="-level verbose -file /Users/USERNAME/.tslog"
    $ code 
    

    Reproduce the problem in VSCode and then share the .tslog file.

    Let me know if you have any questions about this.

    Thanks

  4. mjbvz commented on Feb 24, 2017

    @mjbvz
    Contributor

    Closing as we need more info to investigate this.

    chanceking Please try out VSCode 1.10. If you still see this issue with all extensions disabled, collect the logs as described above so that we can investigate. Thanks

  5. locked and limited conversation to collaborators on Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buginfo-neededjavascripttypescript

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions