Friday, January 30, 2009 7:40 AM Jan Tielens

Essential SharePoint Developer Tool: SPDisposeCheck

[Via Paul Andrew] Now here is a must have tool for every SharePoint developer that wants to make sure that his code isn’t causing any nasty memory leaks due to forgotten Dispose calls (typically on the SPSite and SPWeb instances)! The SPDisposeCheck utility can actually review a compiled assembly and tell you if there are any forgotten Dispose calls, so you can even check third party assemblies. But remember, it’s a tool: nothing beats a full code review, but it certainly speeds up the process.

Get the detail's on Paul’s blog: SPDisposeCheck is a tool to help SharePoint Developers follow memory management best practices when using the SharePoint API with IDisposable objects including SPSite and SPWeb. This tool is not supported by Microsoft and is recommended to be used on Developer workstations and not on production SharePoint Server installations.

Download from http://code.msdn.microsoft.com/SPDisposeCheck.

Filed under:

Comments

# SharePoint Developers: SPDisposeCheck Released « SharePoint Knowledge Base

Pingback from  SharePoint Developers: SPDisposeCheck Released « SharePoint Knowledge Base

# Newly Noted #13 | Patrick Verbruggen's Blog

Monday, February 02, 2009 12:58 PM by Newly Noted #13 | Patrick Verbruggen's Blog

Pingback from  Newly Noted #13 | Patrick Verbruggen's Blog

# re: Essential SharePoint Developer Tool: SPDisposeCheck

Friday, February 20, 2009 2:25 PM by Alex

very nice stuff, i try use this in visual studio post-buil events

sharepointvoodoo.blogspot.com/.../spdisposecheck-tool-how-to-use-in-post.html