Closed ghost closed 2 years ago
I'm noticing quite a bit of memory usage, and more than one tsserver instance being run at a time.
I wanted to find whether this is normal?
~ » ps -u alexi -O rss | grep node 98235 50864 ?? Ss 0:01.96 node --no-warnings /Users/alexi/.vim/plugged/coc.nvim/build/index.js 98326 36064 ?? Ss 0:03.49 node /Users/alexi/Work/reactredux/ClientApp/node_modules/.bin/tsserver 98327 434800 ?? S 0:11.83 /opt/homebrew/Cellar/node/18.0.0/bin/node /Users/alexi/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/tsserver.js --allowLocalPluginLoads --useInferredProjectPerProjectRoot --cancellationPipeName /var/folders/../coc-nvim-tscancellation-...sock* --npmLocation "/opt/homebrew/bin/npm" --noGetErrOnBackgroundUpdate --validateDefaultNpmLocation 98329 17312 ?? S 0:00.16 /opt/homebrew/Cellar/node/18.0.0/bin/node /Users/alexi/Work/reactredux/ClientApp/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/alexi/Library/Caches/typescript/3.6 --typesMapLocation /Users/alexi/Work/reactredux/ClientApp/node_modules/typescript/lib/typesMap.json 98330 31824 ?? S 0:01.34 /opt/homebrew/Cellar/node/18.0.0/bin/node /Users/alexi/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/alexi/Library/Caches/typescript/4.6 --typesMapLocation /Users/alexi/.config/coc/extensions/node_modules/coc-tsserver/node_modules/typescript/lib/typesMap.json --npmLocation "/opt/homebrew/bin/npm" --validateDefaultNpmLocation 98372 45552 ?? Ss 0:04.88 node /opt/homebrew/bin/tsserver 98375 20576 ?? S 0:00.76 /opt/homebrew/Cellar/node/18.0.0/bin/node /opt/homebrew/lib/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/alexi/Library/Caches/typescript/4.6 --typesMapLocation /opt/homebrew/lib/node_modules/typescript/lib/typesMap.json 98444 239488 ?? Ss 0:04.71 node /opt/homebrew/bin/tsserver 98447 54016 ?? S 0:00.59 /opt/homebrew/Cellar/node/18.0.0/bin/node /opt/homebrew/lib/node_modules/typescript/lib/typingsInstaller.js --globalTypingsCacheLocation /Users/alexi/Library/Caches/typescript/4.6 --typesMapLocation /opt/homebrew/lib/node_modules/typescript/lib/typesMap.json 98647 26016 ?? S 0:00.31 /opt/homebrew/Cellar/node/18.0.0/bin/node /Users/alexi/.config/coc/extensions/node_modules/coc-json/lib/server.js --node-ipc --clientProcessId=98235
Could be started by other vim plugin, try minimal vimrc.
I'm noticing quite a bit of memory usage, and more than one tsserver instance being run at a time.
I wanted to find whether this is normal?