Visual Studio 2015的性能改进 [英] Performance improvement on Visual Studio 2015

查看:126
本文介绍了Visual Studio 2015的性能改进的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发我的应用程序在天蓝色的云上并拥有50GB的RAM,但它绝不会最大化CPU和内存。 Visual Studio 2015最多只能使用大约500MB到700MB。是否可以为visual studio分配更多内存,以便VS可以更快地运行?


解决方案

Hi Skoizumi,


欢迎来到MSDN论坛。


您是否安装了一些可能使VS更慢的扩展?请打开
cmd并导航到VS 2015安装文件夹如C:\Program Files(x86)\ Microsoft Visual Studio 14.0\Common7 \IDE并运行命令:devenv / safemode将其作为
安全模式运行,然后检查VS是否缓慢。


如果没有,请尝试使用以下内容来提高VS性能:



  1. Set  当前源代码管理...    None    T ols  →  选项  →  来源
    控制
     
  2. 取消选中  跨...的同步设置  选项  工具  →  选项  →  环境  →  同步
    设置
     (对于某些版本:  工具  →  选项  →  < span style ="border:none windowtext 1.0pt; padding:0in"> Environment
     →  帐户
  3. 禁用CodeLens(可选):取消选中  启用CodeLens  选项  工具  →  选项  →  文字
    编辑
     →  所有语言
  4. 禁用诊断工具(可选):取消选中  在调试时启用诊断工具 选项  工具  →  选项  →  Debugging  →  General
  5. 清理以下文件夹中的内容( 不要删除这些文件夹,而是删除它们仅限内容 )并重新启动
    Visual Studio:


清理内容 WebSiteCache  文件夹(可在
C:\\中找到) \\ Users\%USERNAME%\ AppData \本地\微软\ WebSiteCache


清理内容 临时ASP.NET文件  文件夹(可以找到
in  C:\ Users \%USERNAME%\ AppData \ Local \Temp \Temporary ASP.NET Files


同时,您可以查看以下类似问题:


Visual Studio 2015非常慢


Visual Studio 2017在构建和调试过程中速度太慢




< span style ="font-size:11.0pt; FONT-FAMILY:"宋体",无衬线;颜色:#333333">最好的问候,


萨拉


I am developing my app on the azure cloud and have 50GB of RAM but it never max out neither CPU and memory. Visual Studio 2015 only uses about 500MB to 700MB at max. Is it possible to allocate more memory for visual studio so the VS could run faster?

解决方案

Hi Skoizumi,

Welcome to the MSDN forum.

Have you install some extensions that may be make the VS slower? Please open cmd and navigate to the VS 2015 installation folder like C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\IDE and run the command: devenv /safemode to run it as safe mode, then check the VS is slow or not.

If not, please have a try with the following to improve the VS performance:

  1. Set Current source control … to None under Tools → Options → Source Control 
  2. Uncheck Synchronized settings across ... option under Tools → Options → Environment → Synchronized Settings (for some versions: Tools → Options → Environment → Accounts)
  3. Disable CodeLens (Optional): Uncheck Enable CodeLens option under Tools → Options → Text Editor → All Languages
  4. Disable Diagnostic Tools (Optional): Uncheck Enable Diagnostic Tools while debuggingoption under Tools → Options → Debugging → General
  5. Clean the contents in the following folders (do not delete these folders, instead delete their contents only) and restart Visual Studio:

Clean the content in WebSiteCache folder (can be found in  C:\Users\%USERNAME%\AppData\Local\Microsoft\WebSiteCache)

Clean the content in Temporary ASP.NET Files folder (can be found in  C:\Users\%USERNAME%\AppData\Local\Temp\Temporary ASP.NET Files)

Meanwhile, you can have a look at the following similar issues:

Visual Studio 2015 is extremely slow

Visual Studio 2017 is too slow during building and debugging

Best regards,

Sara


这篇关于Visual Studio 2015的性能改进的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆