It provides assistance in correctly disposing of certain SharePoint objects to help you follow published best practices. This tool may not show all memory leaks in your code. Further investigation is advised if you continue to experience issues.
It is a console application that takes one parameter which is the path to assemblies to be checked. If you have the PDB symbol file available then the output can include additional source information about the error.
SPDisposeCheck <path to assemblies> -debug –xml <file>
Output is provided in the form of a list of potential problems.
-debug adds additional information.
-xml outputs the errors to an XML file instead of text