<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.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>New MSDN Article - Investigating Memory Issues</title><link>http://blogs.msdn.com/maoni/archive/2006/10/22/new-msdn-article-investigating-memory-issues.aspx</link><description>We have a new MSDN article out in the November issue that talks about investigating managed memory issues. http://msdn.microsoft.com/msdnmag/issues/06/11/CLRInsideOut/default.aspx?loc=en Take a look and let me know what you think. Oh, and it's also in</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: New MSDN Article - Investigating Memory Issues</title><link>http://blogs.msdn.com/maoni/archive/2006/10/22/new-msdn-article-investigating-memory-issues.aspx#871134</link><pubDate>Wed, 25 Oct 2006 08:11:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:871134</guid><dc:creator>Miral</dc:creator><description>&lt;p&gt;Shouldn't you tell people to use the version of SOS that comes with the Debugging Tools for Windows rather than the one that came with the framework? &amp;nbsp;The DTW version of SOS has a *lot* more commands, including a handy !analysis command that goes and does the common stuff for you. &amp;nbsp;(Though it can sometimes take a long time to complete -- the last time I used it it took 2.5 solid days of execution, mostly while doing the !objsize.)&lt;/p&gt;
</description></item><item><title>re: New MSDN Article - Investigating Memory Issues</title><link>http://blogs.msdn.com/maoni/archive/2006/10/22/new-msdn-article-investigating-memory-issues.aspx#877713</link><pubDate>Fri, 27 Oct 2006 03:46:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:877713</guid><dc:creator>Mark</dc:creator><description>&lt;p&gt;In the article under figure 5, you have a command listed that dumps out information about all the strings:&lt;/p&gt;
&lt;p&gt;!dumpheap -type System.String -min 150 -max 200&lt;/p&gt;
&lt;p&gt;and it shows the first few characters of the string. When I execute that command, I don't get the first few characters of the string. I am using the release version of .NET 2.0 and loading the sos.dll from the C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 directory. Any ideas why it is behaving differently for me?&lt;/p&gt;
</description></item><item><title>re: New MSDN Article - Investigating Memory Issues</title><link>http://blogs.msdn.com/maoni/archive/2006/10/22/new-msdn-article-investigating-memory-issues.aspx#881300</link><pubDate>Fri, 27 Oct 2006 19:20:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:881300</guid><dc:creator>nativecpp</dc:creator><description>&lt;p&gt;Hi Maoni,&lt;/p&gt;
&lt;p&gt;I would like to find out what is the latest and greatest version of sos as well. I was blogging with Tess the other day and she said that &amp;quot;!dc is short for !dumpcollection &amp;nbsp;(a command in some versions of sos.dll)&amp;quot;. When I loaded my sos, it does NOT have the command. I would love to have the latest SOS commands to help me to debug. Are there many different versions of SOS ? Does Microsoft us same version as 'us/public' ?&lt;/p&gt;
&lt;p&gt;BTW, my SOS version is &lt;/p&gt;
&lt;p&gt;extension C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\sos.dll loaded&lt;/p&gt;
</description></item><item><title>re: New MSDN Article - Investigating Memory Issues</title><link>http://blogs.msdn.com/maoni/archive/2006/10/22/new-msdn-article-investigating-memory-issues.aspx#915391</link><pubDate>Tue, 31 Oct 2006 23:37:17 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:915391</guid><dc:creator>maoni</dc:creator><description>&lt;p&gt;Well, unfortunately there isn't an sos that ships with the debugger package for 2.0 (due to legal issues). &lt;/p&gt;
&lt;p&gt;Mark, if you don't see the content of the string you can always dump them yourself by either &lt;/p&gt;
&lt;p&gt;db address_of_string_object&lt;/p&gt;
&lt;p&gt;or du on the actual unicode string.&lt;/p&gt;
</description></item><item><title>re: New MSDN Article - Investigating Memory Issues</title><link>http://blogs.msdn.com/maoni/archive/2006/10/22/new-msdn-article-investigating-memory-issues.aspx#1018644</link><pubDate>Tue, 07 Nov 2006 20:18:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1018644</guid><dc:creator>nativecpp</dc:creator><description>&lt;p&gt;I FINALLY finished reading the article that you co-authored. I thought it has a lot of useful information. But for someone just started thinking about GC &amp;amp; SOS, it might be overwhelming. BTW, about two years ago, my co-worker and I tried to monitor the app (ASP.NET) and used a lot of counters. One of the counters was &lt;/p&gt;
&lt;p&gt;.NET CLR Data-&amp;gt;SqlClient: Total # failed command &lt;/p&gt;
&lt;p&gt;under the performance monitor and was able to locate some old sql statements where tables were no longer exist. Not only did we elimante the useless code but also remove the exceptions it caused. &lt;/p&gt;
</description></item><item><title>re: New MSDN Article - Investigating Memory Issues</title><link>http://blogs.msdn.com/maoni/archive/2006/10/22/new-msdn-article-investigating-memory-issues.aspx#1031293</link><pubDate>Wed, 08 Nov 2006 09:57:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1031293</guid><dc:creator>maoni</dc:creator><description>&lt;p&gt;nativecpp, I agree, it could be overwheling for someone who just started. We are always trying to improve our tools to make life easier for people. For now sos is a tremendously useful thing for investigating managed applications. Hopefully my previous blog enties explain a lot of things mentioned in the article. &lt;/p&gt;
</description></item><item><title>re: New MSDN Article - Investigating Memory Issues</title><link>http://blogs.msdn.com/maoni/archive/2006/10/22/new-msdn-article-investigating-memory-issues.aspx#1036065</link><pubDate>Wed, 08 Nov 2006 18:08:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1036065</guid><dc:creator>Howard</dc:creator><description>&lt;p&gt;Hi Maoni&lt;/p&gt;
&lt;p&gt;That's an excellant article and has recently helped me understand an OOM exception on a customers site. However there's one part of it I'm not quite sure about. There's a sentence in that article that goes like this &amp;quot;The !eeheap -gc command...... You can correlate this with !address to determine if virtual memory is fragmented by the managed heap&amp;quot;. Can expand on this? An example correlation of the outputs from these two commands would be great. Many Thanks.&lt;/p&gt;
</description></item><item><title>re: New MSDN Article - Investigating Memory Issues</title><link>http://blogs.msdn.com/maoni/archive/2006/10/22/new-msdn-article-investigating-memory-issues.aspx#1041869</link><pubDate>Thu, 09 Nov 2006 04:05:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1041869</guid><dc:creator>maoni</dc:creator><description>&lt;p&gt;Howard, since I can't use different fonts/colors I posted a new article to answer your question: &lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/maoni/archive/2006/11/08/correlating-the-output-of-eeheap-gc-and-address.aspx"&gt;http://blogs.msdn.com/maoni/archive/2006/11/08/correlating-the-output-of-eeheap-gc-and-address.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: New MSDN Article - Investigating Memory Issues</title><link>http://blogs.msdn.com/maoni/archive/2006/10/22/new-msdn-article-investigating-memory-issues.aspx#1044069</link><pubDate>Thu, 09 Nov 2006 17:13:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1044069</guid><dc:creator>Howard</dc:creator><description>&lt;p&gt;Blimey that was quick!, thanks for that. Now it's time to apply that to my current set of dumpfiles. I don't think that we're seeing that kind of fragmentation here, I just wanted to know how to look for it, thanks again.&lt;/p&gt;
</description></item><item><title>re: New MSDN Article - Investigating Memory Issues</title><link>http://blogs.msdn.com/maoni/archive/2006/10/22/new-msdn-article-investigating-memory-issues.aspx#8589579</link><pubDate>Tue, 10 Jun 2008 12:50:48 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8589579</guid><dc:creator>Andy</dc:creator><description>&lt;p&gt;Jus tso folks know, the link to that article is now: &lt;a rel="nofollow" target="_new" href="http://msdn.microsoft.com/en-gb/magazine/cc163528.aspx"&gt;http://msdn.microsoft.com/en-gb/magazine/cc163528.aspx&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>