开发者

JavaScript Intellisense in VS2010 extremely slow and memory hungry

I'm having 2 problems with the Intellisense in VS2010. Our project is very large, it consists of a couple hundred .js files comprising a couple hundred thousand lines of code. After using VS2010 for as little as 5-10 minutes the memory usage can easily climb to over 开发者_运维技巧1gb, which causes a significant slow down, and every time I CTRL+TAB between files "Updating JavaScript Intellisense" appears in the status bar. All of our .js files have tags so Intellisense knows where to find related code, each .js can easily reference 20-30 other .js files.

So I'm assuming every time you CTRL+TAB or open a new .js file the Intellisense gets rebuilt, and to me it looks like it rebuilds Intellisense every time you CTRL+TAB regardless of whether you made any changes or now, and it never appears to release any memory, the memory usage never goes down.

I've tried every solution I've found online, even some that seemed stupid because I'm getting desperate, I even installed VS2010 SP1 Beta today hoping Microsoft had fixed it - no.

Closing TABS doesn't help either, the memory usage remains high. My current solution is to restart VS2010 every 30-60 minutes and try keep a minimum number of files open.

Any ideas?


Although I've faced same issue, this situation has not been after resolving circular reference and typo of comment for JS intellisense.


Do you have re-sharper installed in VS ?? Uninstalling re-sharper may help you to get ride of this.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜