Closed deepak1556 closed 1 month ago
I wasn't able to reproduce this in my testing on MacOS with a single file. Maybe someone on the TS team would be able to learn more from the logs though
@deepak1556 Can you also try collecting the TS Server log when this happens:
"typescript.tsserver.log": "verbose",
TypeScript: Open TS Server log
commandtsserver.log
Attaching the logs from above,
Thanks @deepak1556! This was for a new JS file src/bootstrap-node.js
in the VS Code codebase, correct?
Someone on the TS team will have to look at the logs. It does look like a lot of d.ts
files are being loaded but I'm not sure if this is unexpected or not
This was for a new JS file src/bootstrap-node.js in the VS Code codebase, correct?
Yup I was just viewing files in the VS Code codebase for someother issue when I noticed this memory consumption.
I havent seen the issue with memory when i tried to follow the steps you have followed... it seems to be doing well on memory and its in ~650M so i dont see any leak as such .. This should be expected given the number of files that are kept around (vscode main project + inferred project). I dont see anything in the logs that indicates somehting going wrong either.. i followed all the steps in the log locally and still so no leak. Not sure if there is anything actionable here at this point.
Steps to Reproduce:
--disable-extensions
CPU profile of TSServer process:
profile.zip
Heap Snapshot of TSServer process:
https://microsoft-my.sharepoint.com/:f:/p/demohan/EgdUquRTfAZGisNrUmAI1JUBIVLGe1gQS4muGTByc7Thgw?e=2gQP8O