SPDisposeCheck is a tool that analyzes the custom SharePoint solution that uses SharePoint object model. If you can using SPSite or SPWeb objects then it is very much necessary to dispose the objects.Many SharePoint API's allocate COM based memory that is not released by CLR garbage collection and must be released by calling the Dispose() methods. As the name suggests SPDisposeCheck will ckeck your assemblies and will let you know the memory leaks according to the Microsoft standards. It is a command line utility and called by the Visual studio addin. It takes path to a managed .DLL or .EXE or
the path to a directory containing many managed assemblies. Then it starts analyzing the memory leaks.
You can download the from the below URL
http://code.msdn.microsoft.com/SPDisposeCheck
After downloading this and during installation you can tick on the ckeck boxes to integrate SPDisposeCheck to visual studio 2010.
Once the Integration happens it can be found uder Tools -> SharePoint Dispose Check in Visual Studio.
the path to a directory containing many managed assemblies. Then it starts analyzing the memory leaks.
You can download the from the below URL
http://code.msdn.microsoft.com/SPDisposeCheck
After downloading this and during installation you can tick on the ckeck boxes to integrate SPDisposeCheck to visual studio 2010.
Once the Integration happens it can be found uder Tools -> SharePoint Dispose Check in Visual Studio.
No comments:
Post a Comment