{"id":3346,"date":"2012-02-06T09:32:27","date_gmt":"2012-02-06T01:32:27","guid":{"rendered":"http:\/\/www.sharepointboost.com\/blog\/?p=3346"},"modified":"2023-07-31T11:40:00","modified_gmt":"2023-07-31T03:40:00","slug":"how-to-monitor-sharepoint-performance-issue","status":"publish","type":"post","link":"https:\/\/www.boostsolutions.com\/blog\/how-to-monitor-sharepoint-performance-issue\/","title":{"rendered":"How to monitor SharePoint performance issue?"},"content":{"rendered":"<p>SharePoint is a fast-growing platform, more and more lists and documents need be managed may cause SharePoint performance issue. How to avoid SharePoint performance issue? You can use tools to monitor it during develop SharePoint AddIn.<\/p>\n<p><!--more--><\/p>\n<ul>\n<li>\n<h2>SharePoint Dispose tracker tool<\/h2>\n<\/li>\n<\/ul>\n<p>SPDisposeCheck is a tool that helps developers and administrators check custom SharePoint solutions that use the SharePoint Object Model helping measure against known Microsoft dispose best practices. This tool may not show all memory leaks in your code and may produce false positives which need further review by subject matter experts.[1]<\/p>\n<ul>\n<li>\n<h3>Install SharePoint Dispose tracker tool.<\/h3>\n<\/li>\n<\/ul>\n<p>Make sure you have installed Microsoft visual Studio 2010. Then run installer file SPDisposeCheck.exe.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC1-How-to-monitor-SharePoint-performance-issue.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3347\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC1-How-to-monitor-SharePoint-performance-issue.png\" alt=\"\" width=\"453\" height=\"368\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC1-How-to-monitor-SharePoint-performance-issue.png 453w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC1-How-to-monitor-SharePoint-performance-issue-300x243.png 300w\" sizes=\"(max-width: 453px) 100vw, 453px\" \/><\/a><\/p>\n<p>After install successfully, you will able to find SPDisposeCheck Addin in Visual Studio 2010 Tools menu.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC2-How-to-monitor-SharePoint-performance-issue.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3349\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC2-How-to-monitor-SharePoint-performance-issue.png\" alt=\"\" width=\"561\" height=\"137\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC2-How-to-monitor-SharePoint-performance-issue.png 559w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC2-How-to-monitor-SharePoint-performance-issue-300x73.png 300w\" sizes=\"(max-width: 561px) 100vw, 561px\" \/><\/a><\/p>\n<ul>\n<li>\n<h3>Configure the project what you analyze<\/h3>\n<\/li>\n<\/ul>\n<p>Click SharePoint Dispose Check, get SPDispseCheck setting form.<\/p>\n<p>Select the project what you analyze and treat problem type.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC3-How-to-monitor-SharePoint-performance-issue.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3350\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC3-How-to-monitor-SharePoint-performance-issue.png\" alt=\"\" width=\"559\" height=\"298\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC3-How-to-monitor-SharePoint-performance-issue.png 559w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC3-How-to-monitor-SharePoint-performance-issue-300x159.png 300w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/a><\/p>\n<p>Check &#8220;Execute After Build&#8221; and the assemblies to analyze file.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC4-How-to-monitor-SharePoint-performance-issue.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3351\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC4-How-to-monitor-SharePoint-performance-issue.png\" alt=\"\" width=\"559\" height=\"357\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC4-How-to-monitor-SharePoint-performance-issue.png 559w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC4-How-to-monitor-SharePoint-performance-issue-300x191.png 300w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/a><\/p>\n<p>Save it.<\/p>\n<ul>\n<li>\n<h3>Analyze the code<\/h3>\n<\/li>\n<\/ul>\n<p>Open the project, then check below code.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC5-How-to-monitor-SharePoint-performance-issue.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3352\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC5-How-to-monitor-SharePoint-performance-issue.png\" alt=\"\" width=\"559\" height=\"301\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC5-How-to-monitor-SharePoint-performance-issue.png 559w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC5-How-to-monitor-SharePoint-performance-issue-300x161.png 300w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/a><\/p>\n<p>Build the project, the SPDispose Check tool will execute auto.<\/p>\n<p>Go to View menu-&gt;Error List. You will see the error; this reason is in this code I did not disposed the objects properly.<\/p>\n<p>Double click the error, you will locate to the incorrect code. Then you are able to correct it.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC6-How-to-monitor-SharePoint-performance-issue.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3353\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC6-How-to-monitor-SharePoint-performance-issue.png\" alt=\"\" width=\"559\" height=\"231\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC6-How-to-monitor-SharePoint-performance-issue.png 559w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC6-How-to-monitor-SharePoint-performance-issue-300x123.png 300w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/a><\/p>\n<p>You also can get help to how to fix the error by select &#8220;Show Error Help&#8221; in right-menu of the error.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC7-How-to-monitor-SharePoint-performance-issue.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3354\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC7-How-to-monitor-SharePoint-performance-issue.png\" alt=\"\" width=\"559\" height=\"183\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC7-How-to-monitor-SharePoint-performance-issue.png 559w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC7-How-to-monitor-SharePoint-performance-issue-300x98.png 300w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/a><\/p>\n<p>After click Show Error Help, will auto direct to the page(http:\/\/blogs.msdn.com\/b\/rogerla\/archive\/2008\/02\/12\/sharepoint-2007-and-wss-3-0-dispose-patterns-by-example.aspx)<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC8-How-to-monitor-SharePoint-performance-issue.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3355\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC8-How-to-monitor-SharePoint-performance-issue.png\" alt=\"\" width=\"559\" height=\"332\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC8-How-to-monitor-SharePoint-performance-issue.png 559w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC8-How-to-monitor-SharePoint-performance-issue-300x178.png 300w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/a><\/p>\n<p>Fix above code according to the help.<\/p>\n<p><a href=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC9-How-to-monitor-SharePoint-performance-issue.png\" target=\"_blank\" rel=\"noopener noreferrer\"><img decoding=\"async\" loading=\"lazy\" class=\"alignnone size-full wp-image-3356\" src=\"http:\/\/www.BoostSolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC9-How-to-monitor-SharePoint-performance-issue.png\" alt=\"\" width=\"559\" height=\"320\" srcset=\"https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC9-How-to-monitor-SharePoint-performance-issue.png 559w, https:\/\/www.boostsolutions.com\/blog\/wp-content\/uploads\/2012\/02\/PIC9-How-to-monitor-SharePoint-performance-issue-300x171.png 300w\" sizes=\"(max-width: 559px) 100vw, 559px\" \/><\/a><\/p>\n<p>Recheck the code, no error appear.<\/p>\n<p>Index:<\/p>\n<p>[1]. <a href=\"http:\/\/archive.msdn.microsoft.com\/SPDisposeCheck\" target=\"_blank\" rel=\"noopener noreferrer\">http:\/\/archive.msdn.microsoft.com\/SPDisposeCheck<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>SharePoint is a fast-growing platform, more and more lists and documents need be managed may cause SharePoint performance issue. How to avoid SharePoint performance issue? You can use tools to monitor it during develop SharePoint AddIn.<\/p>\n","protected":false},"author":6,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[125],"tags":[303,304],"_links":{"self":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/3346"}],"collection":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=3346"}],"version-history":[{"count":5,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/3346\/revisions"}],"predecessor-version":[{"id":9255,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/3346\/revisions\/9255"}],"wp:attachment":[{"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=3346"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=3346"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.boostsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=3346"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}