TypeScript icon indicating copy to clipboard operation
TypeScript copied to clipboard

VS 2015 Preview massive use RAM

Open flaticols opened this issue 11 years ago • 6 comments

Sometimes VS with open TypeScript project (I'm testing with another languages, machine, and VS 2013. Reproduced only on VS2015 Preview and only in TS projects) can use gigabytes of RAM. vsml

it is not necessarily associated with TS, but it's reproduced only in TS projects.

flaticols avatar Jan 15 '15 21:01 flaticols

Yikes. Are you able to share the associated project? How large is it (in terms of files or LOC)? Is this only happening after VS has been open for awhile or does it happen very quickly?

danquirk avatar Jan 15 '15 22:01 danquirk

Project very small (~15 files and ~4k of LOC). Now I have found more information. The sequence of actions leading to such behavior:

  1. Open our solution.
  2. Open two ts files from different projects and 1 HTML file from any project.
  3. Close one TS file and HTML.
  4. In open file, you have seen how text editor start work very slow.
  5. In Task Manager you have seen how VS use ~ +10 MB of RAM every seconds. Until then, until you fall

flaticols avatar Jan 16 '15 08:01 flaticols

@flaticols can you give the latest version of TypeScript (TypeScript 1.4) a try and see if this issue still re-produces?

mhegazy avatar Jan 19 '15 22:01 mhegazy

@mhegazy in 1.4 don't reproduced (VS2015 CTP5)

flaticols avatar Jan 21 '15 00:01 flaticols

Thanks @flaticols for trying it out. i will close the issue for now. please reopen if you do see it again. thanks again!

mhegazy avatar Jan 21 '15 01:01 mhegazy

@mhegazy thanks for you!

flaticols avatar Jan 21 '15 06:01 flaticols