High RAM consumption

5

My Visual Studio 2015 when I use to debug a WEB C # MVC project has the following RAM consumption:

Is this consumption normal? My computer gets very slow when I have to test some modification on a page.

    
asked by anonymous 05.04.2017 / 13:55

3 answers

14
Just that? I'd say it's not enough. Visual Studio, because all powerful IDEs are memory devourers, there is probably no desktop application that uses so much memory. To use well recommend 16GB of RAM and a good SSD.

In some cases extensions may be causing excess consumption. Resharper is great, but devours resources if you're all connected.

Of course the problem may be another. The question does not give clear indications that VS is the problem. An antivirus may be impacting everything the VS does. This is common. There may be another problem with another component that only appears when VS is active. If I open up a lot of the same thing with VS using a little memory then you can start doing swap like crazy.

    
05.04.2017 / 13:58
3

Just to complement @bigown, you can rest easy, yours is still down. I opened a small project here and put it to run (I'm not debugging), and it is over 300 MB.

    
05.04.2017 / 14:09
2

Thousands (perhaps millions) of developers use Visual Studio every day professionally. Slowdown is not a common complaint.

If debugging is slow for you, the most likely causes are:

  • Your machine is obsolete. Unfortunately we do not always have the physical resources that we would like.

  • Your page code is slow. 270 Megabytes of memory consumption in 2017 is little. Even the browser you use to access Stack Overflow should consume more than that. Slowdown is not always lack of memory - there may also be one or more algorithms needing optimizations. Or it may be that what the page needs to do is something that really takes a while.

  • Your page accesses a resource for which latency is high. This can happen if you access a database on another machine and the ping is high.

  • The computer is busy with other things. See the "Performance" / "Performance" tab of the task manager. If the disk is at 100%, that's the real cause of slowness. Tip: If on the details tab you find a program of" telemetry " from Microsoft, close. In the last two years this has been a headache for a lot of people because it leaves your disk at 100% for hours.

07.04.2017 / 14:43