SharePoint developers always used to take additional care to dispose SPWeb and SPSite object as their unmanaged memory footprint really large, failing in this will create serious performance issues.
Luckily Microsoft released a command line tool to inspect the assemblies to identify such issues.
Download SPDisposeCheck here
Find more info here : Roger Lamb's developer blog
Install the SPDisposeCheck.msi installer package and ensure that you have the executable in C:\Program Files\Microsoft\SharePoint Dispose Check\
In visual Studio Select Tools--- > External Tools
Click Add and fill the fields as follows
Now build your project first and run this tool to get the memory leak fix instructions in your output window.
1 comment:
Not working it gove me always File not found in the output view :'(
Any idea
Post a Comment