<?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>OutOfMemoryException and Pinning</title><link>http://blogs.msdn.com/yunjin/archive/2004/01/27/63642.aspx</link><description>As you all know, in CLR memory management is done by Garbage collector (GC). When GC can't find memory in preallocated memory chunk (GC heap) for new objects and can't book enough memory from the OS to expand GC heap, it throws OutOfMemoryException (OOM).</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>re: OutOfMemoryException and Pinning</title><link>http://blogs.msdn.com/yunjin/archive/2004/01/27/63642.aspx#63661</link><pubDate>Wed, 28 Jan 2004 06:02:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:63661</guid><dc:creator>Julien Ellie</dc:creator><description>Something to note about OutOfMemoryException when doing painting is that GDI+ tend to use the outofmemory return code as the &amp;quot;default&amp;quot; error when you cause an internal error in GDI+. This happens for example when you try to load certain kind of 24 bpp icons with GDI+, or even on certain acces violation on shared files. Sadly, not everything is always what it seems :(</description></item><item><title>re: OutOfMemoryException and Pinning</title><link>http://blogs.msdn.com/yunjin/archive/2004/01/27/63642.aspx#70711</link><pubDate>Tue, 10 Feb 2004 17:19:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:70711</guid><dc:creator>Rick Byers</dc:creator><description>Thanks for the excellent information!  Can you tell us anything about the work that is done in Everett and Whidbey to alleviate the problem?  If free-space before pinned objects is never used for new allocations, how can you do anything to prevent serious fragmentation in the case of applications like the socket server you mentioned (repeatedly allocating pinned buufers)?&lt;br&gt;</description></item><item><title>re: OutOfMemoryException and Pinning</title><link>http://blogs.msdn.com/yunjin/archive/2004/01/27/63642.aspx#71672</link><pubDate>Thu, 12 Feb 2004 06:12:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:71672</guid><dc:creator>Yun Jin</dc:creator><description>Unfortunately most of the works you asked about are really confidential and I'm not supposed to talk about them.&lt;br&gt;But the basic idea is when GC detects such fragmentation caused by pinning, it tries to control it by more frequent GCs. So we detect as soon as possible when a pin would be freed and the gap between two pinned objects would be smaller (because more objects are moved before a new pinned object is created). At the same time, we have various refinements to avoid falling into a pattern where we GC all the time but the pins don’t get freed so we waste GC cycles. Eventully it is a tradeoff between space and CPU.</description></item><item><title>The Cost of Pinning</title><link>http://blogs.msdn.com/yunjin/archive/2004/01/27/63642.aspx#91064</link><pubDate>Wed, 17 Mar 2004 12:03:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:91064</guid><dc:creator>Extreme RAD from a Trading Desk</dc:creator><description /></item><item><title>Traversing the gc heap (and introducing PSSCOR.DLL)</title><link>http://blogs.msdn.com/yunjin/archive/2004/01/27/63642.aspx#108024</link><pubDate>Tue, 06 Apr 2004 01:58:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:108024</guid><dc:creator>mvstanton's WebLog</dc:creator><description /></item><item><title>re: Tracking down managed memory leaks </title><link>http://blogs.msdn.com/yunjin/archive/2004/01/27/63642.aspx#331256</link><pubDate>Thu, 23 Dec 2004 18:11:00 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:331256</guid><dc:creator>Jackie Goldstein's Weblog</dc:creator><description /></item><item><title>free high school diploma online</title><link>http://blogs.msdn.com/yunjin/archive/2004/01/27/63642.aspx#4926143</link><pubDate>Sat, 15 Sep 2007 12:57:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4926143</guid><dc:creator>free high school diploma online</dc:creator><description>&lt;p&gt;free high school diploma online&lt;/p&gt;
</description></item><item><title>OutOfMemoryException and Pinning</title><link>http://blogs.msdn.com/yunjin/archive/2004/01/27/63642.aspx#6524930</link><pubDate>Mon, 26 Nov 2007 06:05:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6524930</guid><dc:creator>OutOfMemoryException and Pinning</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://feeds.maxblog.eu/item_1082415.html"&gt;http://feeds.maxblog.eu/item_1082415.html&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>ASP.NET Tip: How to avoid creating a GC Hole</title><link>http://blogs.msdn.com/yunjin/archive/2004/01/27/63642.aspx#8964978</link><pubDate>Thu, 25 Sep 2008 15:52:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8964978</guid><dc:creator>ASP.NET Debugging</dc:creator><description>&lt;p&gt;There are only a few things that can make a .NET process crash.&amp;amp;#160; The most common one is an Unhandled&lt;/p&gt;
</description></item><item><title> Yun Jin s WebLog OutOfMemoryException and Pinning | debt consolidator</title><link>http://blogs.msdn.com/yunjin/archive/2004/01/27/63642.aspx#9754632</link><pubDate>Mon, 15 Jun 2009 22:36:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9754632</guid><dc:creator> Yun Jin s WebLog OutOfMemoryException and Pinning | debt consolidator</dc:creator><description>&lt;p&gt;PingBack from &lt;a rel="nofollow" target="_new" href="http://mydebtconsolidator.info/story.php?id=954"&gt;http://mydebtconsolidator.info/story.php?id=954&lt;/a&gt;&lt;/p&gt;
</description></item></channel></rss>