VS intermittently crashes with an out of memory exception. My computer has ample memory and there is no reason for this.
I always lose work when it happens.
I am using Visual Studio 2010 Professional (10.0.40219.1 SP1Rel)
I have read the following posts and many others. I don't expect any resolution. I won't bother to create a report at Connect because I have wasted too much time on this already, and I have to go try to recover my lost work. I just
wanted report my experience.
https://social.msdn.microsoft.com/Forums/en-US/2cfaf28f-80af-49ee-8408-07b4a8e0e964/visual-studio-2010-randomly-crashing?forum=vswpfdesigner
https://connect.microsoft.com/VisualStudio/feedback/details/624958/crashes-crashes-and-more-crashes
https://connect.microsoft.com/VisualStudio/feedback/details/578148/vsttexecution-errors-in-event-log-could-not-load-file-or-assembly-microsoft-visualstudio-qualitytools-codeduitestpackage
See info from Event Viewer below.
Similar connect report (one of several):
https://connect.microsoft.com/VisualStudio/feedback/details/586949/out-of-memory-exception
https://connect.microsoft.com/VisualStudio/feedback/details/617056/visual-studio-2010-crash-system-outofmemoryexception
EventType clr20r3, P1 devenv.exe, P2 10.0.40219.1, P3 4d5f2a73, P4 presentationcore, P5 4.0.0.0, P6 51eea8f5, P7 109c, P8 be, P9 system.outofmemoryexception, P10 NIL.
The description for Event ID ( 0 ) in Source ( VSTTExecution ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: (devenv.exe, PID 19532, Thread 1) TuipPackage.InitializeTestProjectPlugins: System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.QualityTools.CodedUITestPackage, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.
File name: 'Microsoft.VisualStudio.QualityTools.CodedUITestPackage, PublicKeyToken=b03f5f7f11d50a3a'
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
at System.RuntimeType.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)
at Microsoft.VisualStudio.TestTools.Tips.TuipPackage.TuipPackage.InitializeTestProjectPlugins()
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
bill