views:

3036

answers:

7

I find that quite often Visual studio memory usage will average ~150-300 Mb of RAM. As a developer who very often needs to run with multiple instances of Visual studio open. Are there any performance tricks to optimize the ammount of memory that VS uses.

I am running VS 2005 with one add-in (TFS)

A: 

Buy more RAM. VS is a memory pig, but it's worth the overhead, IMO.

Dana
Doesn't actually answer the question...VS can only use up to 2GB of memory without hacking the binary.
Scott Dorman
+7  A: 

Take a look at this thread and blog post.

Scott Dorman
Exactly what I was looking for. Thanks!
Causas
Can you update the tread link still points to stackoverflow beta... I was able to get to it but would make it easier.
J.13.L
+1  A: 

RAM is your friend. Get more.

Joseph Daigle
Doesn't actually answer the question...VS can only use up to 2GB of memory without hacking the binary.
Scott Dorman
+1  A: 

Upgrade to a 64-bit OS. My instances of VS were taking ~700MB each (very large solutions).. and you rapidly run out of room with that.

Everyone on my team that has switched to 64-bit (and 8GB RAM) has wondered why they didn't do it sooner.

Andy Stevenson
+1  A: 

minimize and re-maximize the main vs window to get vs to release the memory.

A: 

you can try memory optimizer expert,it can auto optimize your memory,free download here:http://www.memoryoptimizerexpert.com

memory optimizer
A: 

By uninstalling (and re-installing) Visual Assist the problem got solved for me.

Mattias Marder