SPDisposeCheck tool finally released – get your code straight!

Tobias Zimmergren
Tobias Zimmergren

UPDATE 2015:

Please be adviced that as of SharePoint 2013, the SPDisposeChecker and MSOCAF tools doesn’t correctly report disposal errors.
The only tool available on the market at the point of writing this update (2015-07-28), is SPCAF.

You probably want to read this: STOP using SPDisposeCheck or MSOCAF with SharePoint 2013 NOW!

You might have heard it before, a tool called SPDisposeCheck was to be released – a tool which will help you (though, not make it perfect..) on your way with finding memoryleaks in certain API objects (e.g. SPWeb, SPSite..) MSDN Code now have officially published this tool, and it can be read about and downloaded here I’m not going to re-author a long post about this tool, so I’m simply hooking up some previous posts about the tool. Have fun with it!

Download & information from MSDN code: http://code.msdn.microsoft.com/SPDisposeCheck

[2008] Announcements from Microsoft Team Blog


Tobias Zimmergren Twitter

Hi, I'm Tobias! 👋 I write about Microsoft Azure, security, cybersecurity, compliance, cloud architecture, Microsoft 365, and general tech!

Reactions and mentions

Hi, I'm Tobias 👋

Tobias Zimmergren profile picture

Find out more about me.

Recent comments