<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.0" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Firefox2 + GMail == Memory Leak</title>
	<link>http://www.vixen.com/blog/2007/01/15/25</link>
	<description>Coding, Connections, and Other Bloggy Bits of Goodness</description>
	<pubDate>Mon, 08 Sep 2008 10:45:26 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0</generator>

	<item>
		<title>by: Kal</title>
		<link>http://www.vixen.com/blog/2007/01/15/25#comment-2439</link>
		<pubDate>Fri, 02 Mar 2007 05:37:52 +0000</pubDate>
		<guid>http://www.vixen.com/blog/2007/01/15/25#comment-2439</guid>
					<description>It turns out that it may not be just Gmail. In fact, Firefox &quot;leaks&quot; memory almost all the time, the reason being that Firefox almost never releases memory back to the operating system on its own accord. Instead, it usually keeps &quot;released&quot; memory in its heap, and only gives memory back to the operating system upon request. This page explains a lot: http://plugindoc.mozdev.org/faqs/memusage.html

There is a way to force Firefox to shrink its heap, but it apparently only works on Windows, and I can confirm that it does work on Windows because I just tried it: http://www.solo-technology.com/blog/2005/12/23/quick-firefox-tweak-free-mem/</description>
		<content:encoded><![CDATA[<p>It turns out that it may not be just Gmail. In fact, Firefox &#8220;leaks&#8221; memory almost all the time, the reason being that Firefox almost never releases memory back to the operating system on its own accord. Instead, it usually keeps &#8220;released&#8221; memory in its heap, and only gives memory back to the operating system upon request. This page explains a lot: <a href='http://plugindoc.mozdev.org/faqs/memusage.html' rel='nofollow'>http://plugindoc.mozdev.org/faqs/memusage.html</a></p>
<p>There is a way to force Firefox to shrink its heap, but it apparently only works on Windows, and I can confirm that it does work on Windows because I just tried it: <a href='http://www.solo-technology.com/blog/2005/12/23/quick-firefox-tweak-free-mem/' rel='nofollow'>http://www.solo-technology.com/blog/2005/12/23/quick-firefox-tweak-free-mem/</a>
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Cyberfox</title>
		<link>http://www.vixen.com/blog/2007/01/15/25#comment-2432</link>
		<pubDate>Thu, 01 Mar 2007 17:44:35 +0000</pubDate>
		<guid>http://www.vixen.com/blog/2007/01/15/25#comment-2432</guid>
					<description>Greetings,
You're right; I had a specific potential issue in mind, where Firefox2 might be in-memory caching the results of XmlHttpRequest 'pages', and somehow bypassing the limits on them.  It's frustrating that my Firefox2 regularly grows to 750M+.

In general, if I find that my browser has gotten unreasonably slow, I can close my gmail tab, and it works better.  I don't like closing gmail, but it might be for the better; I occasionally get more done without it up.  :)

Anyhow, you're right, I wasn't specific about the kind of problems I thought of when I said, 'general AJAXy problem'.  I was focusing on the 'AX' part.

It's also been pointed out that there's a decent chance it's a bad interaction between one of my plugins and gmail.  I have no way to reasonably test that, but that I agree is possible.

--  Morgan Schweers, Cyber&lt;b&gt;FOX&lt;/b&gt;!</description>
		<content:encoded><![CDATA[<p>Greetings,<br />
You&#8217;re right; I had a specific potential issue in mind, where Firefox2 might be in-memory caching the results of XmlHttpRequest &#8216;pages&#8217;, and somehow bypassing the limits on them.  It&#8217;s frustrating that my Firefox2 regularly grows to 750M+.</p>
<p>In general, if I find that my browser has gotten unreasonably slow, I can close my gmail tab, and it works better.  I don&#8217;t like closing gmail, but it might be for the better; I occasionally get more done without it up.  <img src='blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Anyhow, you&#8217;re right, I wasn&#8217;t specific about the kind of problems I thought of when I said, &#8216;general AJAXy problem&#8217;.  I was focusing on the &#8216;AX&#8217; part.</p>
<p>It&#8217;s also been pointed out that there&#8217;s a decent chance it&#8217;s a bad interaction between one of my plugins and gmail.  I have no way to reasonably test that, but that I agree is possible.</p>
<p>&#8211;  Morgan Schweers, Cyber<b>FOX</b>!
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Kal</title>
		<link>http://www.vixen.com/blog/2007/01/15/25#comment-2431</link>
		<pubDate>Thu, 01 Mar 2007 17:27:22 +0000</pubDate>
		<guid>http://www.vixen.com/blog/2007/01/15/25#comment-2431</guid>
					<description>&quot;I have to wonder if it's a general AJAXy problem with Firefox, or specific to gmail...&quot; - I believe that there is nothing inherently wrong with AJAX in Firefox. To begin with, AJAX is not some kind of magical JavaScript module in Firefox (or any other browser, for that matter). It all depends on the implementation. *MAYBE* it has to do with the implementation of XmlHttpRequest in the JavaScript engine of Firefox. Memory leak is a problem that can occur with any looping or recursive JavaScript fragment that doesn't release reserved memory when it should.</description>
		<content:encoded><![CDATA[<p>&#8220;I have to wonder if it&#8217;s a general AJAXy problem with Firefox, or specific to gmail&#8230;&#8221; - I believe that there is nothing inherently wrong with AJAX in Firefox. To begin with, AJAX is not some kind of magical JavaScript module in Firefox (or any other browser, for that matter). It all depends on the implementation. *MAYBE* it has to do with the implementation of XmlHttpRequest in the JavaScript engine of Firefox. Memory leak is a problem that can occur with any looping or recursive JavaScript fragment that doesn&#8217;t release reserved memory when it should.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
