Memory management in SharePoint coding is always been an ongoing issue and topic of dicsussin among developers. When to dispose SPWeb and SPSite objects when not to is been a biggest confusion. There have been many best practices and white papers from experts which talks about this but there are some confusions still pending and it becomes diffcult to judge and find when you have 1000s of lines of code and classes written. Microsoft wants to help us developers for writing quality code which takes care of memory dispose and makes best use of available memory. There is a tool coming up soon as mentioned in MSDN SharePoint blog. Read more here and wait for the Memory Doctor to be released ;-)
http://blogs.msdn.com/sharepoint/archive/2008/11/12/announcing-spdisposecheck-tool-for-sharepoint-developers.aspx
No comments:
Post a Comment