<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.technet.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SharePoint memory leak caused by incorrect web.config settings</title><link>http://blogs.technet.com/b/stefan_gossner/archive/2012/07/20/sharepoint-memory-leak-caused-by-incorrect-web-config-settings.aspx</link><description>Today I analyzed a memory dump which showed an interesting pattern. 
 Based on the dump several hundred SPRequest objects had been allocated on a single thread for a single request. 
 Each SPRequest object has a pretty large unmanaged COM object behind</description><dc:language>en-US</dc:language><generator>Telligent Evolution Platform Developer Build (Build: 5.6.50428.7875)</generator><item><title>re: SharePoint memory leak caused by incorrect web.config settings</title><link>http://blogs.technet.com/b/stefan_gossner/archive/2012/07/20/sharepoint-memory-leak-caused-by-incorrect-web-config-settings.aspx#3510220</link><pubDate>Mon, 23 Jul 2012 09:19:40 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3510220</guid><dc:creator>Stefan Goßner</dc:creator><description>&lt;p&gt;Hi Ashish,&lt;/p&gt;
&lt;p&gt;by reviewing the ULS log after enabling callstacks. &lt;/p&gt;
&lt;p&gt;Callstacks can be enabled using the information from these articles:&lt;/p&gt;
&lt;p&gt;SharePoint 2007:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.technet.com/b/stefan_gossner/archive/2008/05/07/troubleshooting-spsite-spweb-leaks-in-wss-v3-and-moss-2007.aspx"&gt;blogs.technet.com/.../troubleshooting-spsite-spweb-leaks-in-wss-v3-and-moss-2007.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;SharePoint 2010:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.technet.com/b/stefan_gossner/archive/2010/01/04/sprequest-allocation-callstack-logging-in-sharepoint-2010-and-wss-4-0.aspx"&gt;blogs.technet.com/.../sprequest-allocation-callstack-logging-in-sharepoint-2010-and-wss-4-0.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Then check if the callstack is similar to the one I listed here in the article.&lt;/p&gt;
&lt;p&gt;btw: the easiest check is to verify that the setting in the web.config is correct. ;-)&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Stefan&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3510220" width="1" height="1"&gt;</description></item><item><title>re: SharePoint memory leak caused by incorrect web.config settings</title><link>http://blogs.technet.com/b/stefan_gossner/archive/2012/07/20/sharepoint-memory-leak-caused-by-incorrect-web-config-settings.aspx#3510198</link><pubDate>Mon, 23 Jul 2012 06:14:24 GMT</pubDate><guid isPermaLink="false">d5e57398-b9ef-4490-9955-07cbb4e4a80d:3510198</guid><dc:creator>Ashish Mishra</dc:creator><description>&lt;p&gt;Hi Stefan,&lt;/p&gt;
&lt;p&gt;Nice article but how to know that the problem is because of batch compilation without going into the config file because people mostly look for other reasons such as memory leak because of object or some other coding issues.&lt;/p&gt;
&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://blogs.technet.com/aggbug.aspx?PostID=3510198" width="1" height="1"&gt;</description></item></channel></rss>