I’ve Sprung a Leak!

You can’t have leaks in managed code, right? Ah, but you can, in interesting and subtle ways. In this session, we’ll look at how you can have a leak in managed code, how to find leaks using WinDbg, and some ways to prevent leaking in the first place.

Slides

Resouce Links:

WinDbg Download: http://www.microsoft.com/whdc/devtools/debugging/default.mspx

My “Getting Started” blog post: http://erickepes.com/2009/11/21/obtaining-a-memory-dump-to-diagnose-memory-leaks/

SOS Debugging Extension: http://msdn.microsoft.com/en-us/library/bb190764.aspx

Brock Reeve’s sample code (what I used in the demo): http://brockreeve.com/post/2010/02/10/Windbg-and-SOS-for-Visual-Studio-NET-Weenies.aspx

Tess Ferrandez’s blog (lots of good stuff): http://blogs.msdn.com/b/tess/

Other interesting links:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s