💡 Presently sponsored by: ScriptRunner
Get your free PowerShell Security e-Book!
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!
Links Download & information from MSDN code: http://code.msdn.microsoft.com/SPDisposeCheck
 Announcements from Microsoft Team Blog