Debugging OutOfMemoryExceptions in managed code using Windbg

Before you start debugging make sure you have the symbols path set appropriately. Below link shows you how to configure symbol path http://blogs.msdn.com/johan/archive/2007/11/13/getting-started-with-windbg-part-i.aspx Once you have the right dump with you open the crash dump through windbg and load sos.dll using the command .load sos. Windbg by default will show the native stack and for…

3