Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio keeps crashing

Visual studio team system 2008 keeps crashing on me. Sometimes it just freezes, or certain parts of the UI get messed up or a weird popup box saying something about unable to load parameters or saying something else about memory or any other number of things.

it usually happens when I do a "complex" task like go into debug mode or do a search across of whole solution or run a unit tests or something like that.

I rebooted my machine countless time, reinstalled it VS, changed my virtual memory settings, flush my page file on every reboot and anything else i could think of.

It seems like VS runs out memory or something.

I have a powerfully machine with lots of RAM so that's not the issue

any suggestions?

like image 622
Bob Avatar asked Sep 06 '10 16:09

Bob


People also ask

Why does Visual Studio code keeps crashing?

If while opening a large file, VSCode freezes and then crashes, you need to delete some files. So, open Run, paste “%AppData%” and click Ok. Now, open Code > Backup and then delete the only folder that is inside that directory. Finally, restart VSCode and see if the issue persists.


1 Answers

You can always try some standard Visual Studio troubleshooting steps:

  • Clean the solution
  • Delete / rename all files in your solution created by VS, i.e. all .ncb, .suo, .user files
  • Launch Visual Studio with all add-ins disabled: devenv.exe /SafeMode
  • Reset All Settings: Tools -> Import / Export Settings -> Reset All Settings
  • Delete HKCU:\Software\Micosoft\VisualStudio\9.0 and then restart Visual Studio
  • Repair the Visual Studio installation through Add/Remove Programs

You might also check whether there is a hotfix available addressing your issue (e.g. KB960075 sounds like a good candidate for you), or whether you find your problem already reported on the Connect website.

like image 110
Dirk Vollmar Avatar answered Oct 12 '22 11:10

Dirk Vollmar