<?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>Generational GC (Garbage Collector) - A post-it analogy</title><link>http://blogs.msdn.com/tess/archive/2008/02/26/generational-gc-garbage-collector-a-post-it-analogy.aspx</link><description>I was working through the High CPU Lab Review which is basically caused by high CPU in GC. To understand what happens you need to know what a generational GC is and why it's useful. Last year sometime I used a restaurant as an analogy for how memory allocations</description><dc:language>sv-SE</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: Generational GC (Garbage Collector) - A post-it analogy</title><link>http://blogs.msdn.com/tess/archive/2008/02/26/generational-gc-garbage-collector-a-post-it-analogy.aspx#7905823</link><pubDate>Tue, 26 Feb 2008 18:38:18 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7905823</guid><dc:creator>Tess</dc:creator><description>&lt;p&gt;Just have to add this link to a recent Channel 9 interview with Patrick Dussud about the GC &lt;a rel="nofollow" target="_new" href="http://channel9.msdn.com/ShowPost.aspx?PostID=381293"&gt;http://channel9.msdn.com/ShowPost.aspx?PostID=381293&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: Generational GC (Garbage Collector) - A post-it analogy</title><link>http://blogs.msdn.com/tess/archive/2008/02/26/generational-gc-garbage-collector-a-post-it-analogy.aspx#7908424</link><pubDate>Tue, 26 Feb 2008 22:10:39 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7908424</guid><dc:creator>nc</dc:creator><description>&lt;p&gt;Link to PPT is corrupted - remove a period at the end or url.&lt;/p&gt;</description></item><item><title>re: Generational GC (Garbage Collector) - A post-it analogy</title><link>http://blogs.msdn.com/tess/archive/2008/02/26/generational-gc-garbage-collector-a-post-it-analogy.aspx#7909499</link><pubDate>Tue, 26 Feb 2008 23:53:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7909499</guid><dc:creator>nativecpp</dc:creator><description>&lt;p&gt;I personally thought it is better than the restaurant analogy because we all at one point or another does post-it note :-))&lt;/p&gt;</description></item><item><title>re: Generational GC (Garbage Collector) - A post-it analogy</title><link>http://blogs.msdn.com/tess/archive/2008/02/26/generational-gc-garbage-collector-a-post-it-analogy.aspx#7917185</link><pubDate>Wed, 27 Feb 2008 14:31:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7917185</guid><dc:creator>Dirk</dc:creator><description>&lt;p&gt;Ok so if there is One or more App domain per instance of the CLR, does that mean that there is one Managed heap?&lt;/p&gt;
&lt;p&gt;Or is there one per App Domain?&lt;/p&gt;
&lt;p&gt;Loved the post-it analogy &amp;nbsp;by the way :D&lt;/p&gt;</description></item><item><title>re: Generational GC (Garbage Collector) - A post-it analogy</title><link>http://blogs.msdn.com/tess/archive/2008/02/26/generational-gc-garbage-collector-a-post-it-analogy.aspx#7917312</link><pubDate>Wed, 27 Feb 2008 14:48:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7917312</guid><dc:creator>Tess</dc:creator><description>&lt;p&gt;The GC and its heaps are common to the whole process so they are common to all appdomains in a given process. &lt;/p&gt;
&lt;p&gt;There may be multiple heaps though, if you run the server GC there will be one regular .net GC heap per logical processor and one large object heap per processor. &amp;nbsp;Each heap can have one or more heap segments. &lt;/p&gt;
&lt;p&gt;You will run the server gc on multiproc boxes in processes that host the CLR such as asp.net for example. &amp;nbsp;On single proc boxes or in services that don't host the CLR (winforms apps, windows services etc.) you will run the workstation GC and in that case there is only one regular and one large object heap.&lt;/p&gt;
&lt;p&gt;You can also choose to run the server gc in winforms apps and windows services by setting &amp;lt;gcServer enabled=&amp;quot;true&amp;quot; /&amp;gt; in the config file. &amp;nbsp;Check out the GC popquiz if i want to know more about this&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://blogs.msdn.com/tess/archive/2007/04/10/net-garbage-collector-popquiz-followup.aspx"&gt;http://blogs.msdn.com/tess/archive/2007/04/10/net-garbage-collector-popquiz-followup.aspx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Glad you guys liked the post-it analogy btw:)&lt;/p&gt;
</description></item><item><title>How does the GC work and what are the sizes of the different generations?</title><link>http://blogs.msdn.com/tess/archive/2008/02/26/generational-gc-garbage-collector-a-post-it-analogy.aspx#8402588</link><pubDate>Thu, 17 Apr 2008 15:14:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8402588</guid><dc:creator>If broken it is, fix it you should</dc:creator><description>&lt;p&gt;During our ASP.NET debugging chat there were many questions around the GC and the different generations.&lt;/p&gt;
</description></item><item><title>.NET Memory Leak reader email: Are you really “leaking” .net memory</title><link>http://blogs.msdn.com/tess/archive/2008/02/26/generational-gc-garbage-collector-a-post-it-analogy.aspx#9448635</link><pubDate>Fri, 27 Feb 2009 15:16:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9448635</guid><dc:creator>If broken it is, fix it you should</dc:creator><description>&lt;p&gt;I get several emails every week through the blog asking for help on various issues.&amp;amp;#160; Unfortunately&lt;/p&gt;
</description></item></channel></rss>