Drydo's Blog

Teenager of the Internet

This blog hosted by:
http://blogs.vbcity.com
  Home :: Syndication  :: Login   Community Forums   :: vbCity.com   :: DevCity.NET  

Thursday, June 15, 2006 #

I've been working on a fairly intensive VB.NET VS2005 solution over the past couple of weeks and have been somewhat shocked by the amount of memory usage VS2005 seems to gobble up.  In fact, I managed to hit 600Mb of memory usage at one stage - and that wasn't including the other two solutions I had open that running at around 80Mb and 200Mb.  That's pretty greedy IMHO.  It initially starts at a respectable 20-40Mb then creeps up depending on which actions you then take.

Anyhoo, apart from restarting the Studio application to free up the memory - there isn't much else you can do.  However, during my frustrations I found something quite interesting...

Simply, minimise and then restore your Studio window.

Minimising the Studio window will reduce the memory usage from whatever it is down to a respectful 7-9Mb.  Restoring the Studio window knocks the memory usage up to 20Mb.  From then on - it will slowly creep up again.

HTH - M

posted @ 11:14 AM