Question

I'm having a bit of a problem where VS won't build because I get OutOfMemoryExceptions. My Vista box with 2 GIG RAM, is using about 1 Gig of RAM when it starts up, and I am not even doing anything (just connecting to the network drives at work etc)

When I then run Visual Studio devenv.exe peaks at around 730MB after a few builds, and I get the error, mostly needing a restart to rectify.

I have disabled Aero and stopped as many unneccessary services and applications in MSCONFIG. I know there is something about Vista using memory and not being bloated, but using up half my memory after just starting up seems a bit excessive (it is the same on a few dev machines).

What sort of peak memory is your application generating and what can I do to try negate this issue?

Was it helpful?

Solution

730 megs after a few builds is not normal.

Some things to try:

  • Disable all your VS plugins
  • Ensure VS is running the latest service pack (are you on 2008 SP1)
  • Try one project at a time to see which one is hogging the memory

OTHER TIPS

Best way how to solved this, is buying more memory.

I have same problem with XP and 1GB memory and it's nightmare for me. Now I have 3GB and it's OK and I can 2 VS in same time.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top