<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.3.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: Screencast: Diagnose a JavaScript Memory Leak in the Windows IE Browser</title>
	<link>http://www.barelyfitz.com/blog/archives/2006/03/30/289/</link>
	<description>Patrick Fitzgerald of BarelyFitz Designs</description>
	<pubDate>Wed, 19 Nov 2008 12:16:44 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.2</generator>
		<item>
		<title>By: pat</title>
		<link>http://www.barelyfitz.com/blog/archives/2006/03/30/289/#comment-4222</link>
		<dc:creator>pat</dc:creator>
		<pubDate>Sat, 01 Apr 2006 01:14:04 +0000</pubDate>
		<guid>http://www.barelyfitz.com/blog/archives/2006/03/30/289/#comment-4222</guid>
		<description>Yep, the JavaScript garbage collector works correctly, it's only the IE DOM garbage collector that has a bug. From Douglas Crockford's article &lt;a href="http://www.crockford.com/javascript/memory/leak.html" rel="nofollow"&gt;JScript Memory Leaks&lt;/a&gt;: "The JavaScript garbage collector understands about cycles and is not confused by them. Unfortunately, IE's DOM is not managed by JScript. It has its own memory manager that does not understand about cycles and so gets very confused. As a result, when cycles occur, memory reclamation does not occur."</description>
		<content:encoded><![CDATA[<p>Yep, the JavaScript garbage collector works correctly, it&#8217;s only the IE DOM garbage collector that has a bug. From Douglas Crockford&#8217;s article <a href="http://www.crockford.com/javascript/memory/leak.html" rel="nofollow">JScript Memory Leaks</a>: &#8220;The JavaScript garbage collector understands about cycles and is not confused by them. Unfortunately, IE&#8217;s DOM is not managed by JScript. It has its own memory manager that does not understand about cycles and so gets very confused. As a result, when cycles occur, memory reclamation does not occur.&#8221;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: pat</title>
		<link>http://www.barelyfitz.com/blog/archives/2006/03/30/289/#comment-4220</link>
		<dc:creator>pat</dc:creator>
		<pubDate>Fri, 31 Mar 2006 19:22:53 +0000</pubDate>
		<guid>http://www.barelyfitz.com/blog/archives/2006/03/30/289/#comment-4220</guid>
		<description>@Mark: thanks for the tip. I did a quick experiment, and it didn't trigger a bigger memory leak when I added data to the tabber object; however, when I attached data to the DOM element I got a bigger memory leak. This leads me to believe that the memory leak occurs in the DOM but the JavaScript object is correctly garbage-collected. I'll have to do a little more research.</description>
		<content:encoded><![CDATA[<p>@Mark: thanks for the tip. I did a quick experiment, and it didn&#8217;t trigger a bigger memory leak when I added data to the tabber object; however, when I attached data to the DOM element I got a bigger memory leak. This leads me to believe that the memory leak occurs in the DOM but the JavaScript object is correctly garbage-collected. I&#8217;ll have to do a little more research.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Wubben</title>
		<link>http://www.barelyfitz.com/blog/archives/2006/03/30/289/#comment-4219</link>
		<dc:creator>Mark Wubben</dc:creator>
		<pubDate>Fri, 31 Mar 2006 18:37:05 +0000</pubDate>
		<guid>http://www.barelyfitz.com/blog/archives/2006/03/30/289/#comment-4219</guid>
		<description>Interesting way to detect the memory usage. I've got one small tip though, Instead of creating a hundred tabs you could add a huge object to the tabber instance. Say, a string which is hundreds of thousands of characters long. If you make it big enough you'll see a several megabyte increase of memory usage on every reload.</description>
		<content:encoded><![CDATA[<p>Interesting way to detect the memory usage. I&#8217;ve got one small tip though, Instead of creating a hundred tabs you could add a huge object to the tabber instance. Say, a string which is hundreds of thousands of characters long. If you make it big enough you&#8217;ll see a several megabyte increase of memory usage on every reload.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
