<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Firefox memory leak detection tool</title>
	<atom:link href="http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/</link>
	<description>Jesse Ruderman on Firefox, security, and more</description>
	<pubDate>Fri, 25 Jul 2008 16:26:47 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Matt Nordhoff</title>
		<link>http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/#comment-2086</link>
		<dc:creator>Matt Nordhoff</dc:creator>
		<pubDate>Fri, 24 Feb 2006 05:07:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/#comment-2086</guid>
		<description>&lt;a href="http://forums.mozillazine.org/viewtopic.php?t=383665" rel="nofollow"&gt;Nightly Tester Tools 0.8b1&lt;/a&gt; (will that HTML work?) now supports analyzing the leak log. So you won't need Perl or leak-guage.pl, but you still will need to start Firefox with those environment variables.

MTCMonkey: In my experience, the critical mass seems to be when the memory cache is forced to go over the limit you set. After that, Firefox will just almost stop throwing things out of the memory cache for me.</description>
		<content:encoded><![CDATA[<p><a href="http://forums.mozillazine.org/viewtopic.php?t=383665" rel="nofollow">Nightly Tester Tools 0.8b1</a> (will that HTML work?) now supports analyzing the leak log. So you won&#8217;t need Perl or leak-guage.pl, but you still will need to start Firefox with those environment variables.</p>
<p>MTCMonkey: In my experience, the critical mass seems to be when the memory cache is forced to go over the limit you set. After that, Firefox will just almost stop throwing things out of the memory cache for me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Klein</title>
		<link>http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/#comment-2074</link>
		<dc:creator>Jacob Klein</dc:creator>
		<pubDate>Fri, 17 Feb 2006 07:43:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/#comment-2074</guid>
		<description>The easiest way to make a one-click startup without seeing the "batch execution window" is to do the following:

- Create a shortcut to the .bat file
- Edit the shortcut's properties to:
- Run: Minimized</description>
		<content:encoded><![CDATA[<p>The easiest way to make a one-click startup without seeing the &#8220;batch execution window&#8221; is to do the following:</p>
<p>- Create a shortcut to the .bat file<br />
- Edit the shortcut&#8217;s properties to:<br />
- Run: Minimized</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob Klein</title>
		<link>http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/#comment-2073</link>
		<dc:creator>Jacob Klein</dc:creator>
		<pubDate>Fri, 17 Feb 2006 07:39:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/#comment-2073</guid>
		<description>I also created a batch (.bat) file that will work for Windows.  It works under the following assumptions:

- Firefox is installed in "C:\Program Files\Mozilla Firefox"
- Perl is installed
- The perl script "leak-guage.pl" is stored in the Firefox directory

After a browsing session, it'll bring up notepad with the leakage info.  If you then wanted to save that information to somewhere else, do it, else, don't.

Here is the batch file:
-------------------------

@echo off
set NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5
set NSPR_LOG_FILE=C:/Program Files/Mozilla Firefox/nspr.log
start "Firefox" /wait "C:\Program Files\Mozilla Firefox\Firefox.exe"
type "C:\Program Files\Mozilla Firefox\nspr.log" &#124; perl "C:\Program Files\Mozilla Firefox\leak-guage.pl" &#62; "C:\Program Files\Mozilla Firefox\nspr_leaks.log"
start "Leaks" "C:\Windows\notepad.exe" "C:\Program Files\Mozilla Firefox\nspr_leaks.log"
@echo on</description>
		<content:encoded><![CDATA[<p>I also created a batch (.bat) file that will work for Windows.  It works under the following assumptions:</p>
<p>- Firefox is installed in &#8220;C:\Program Files\Mozilla Firefox&#8221;<br />
- Perl is installed<br />
- The perl script &#8220;leak-guage.pl&#8221; is stored in the Firefox directory</p>
<p>After a browsing session, it&#8217;ll bring up notepad with the leakage info.  If you then wanted to save that information to somewhere else, do it, else, don&#8217;t.</p>
<p>Here is the batch file:<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>@echo off<br />
set NSPR_LOG_MODULES=DOMLeak:5,DocumentLeak:5,nsDocShellLeak:5<br />
set NSPR_LOG_FILE=C:/Program Files/Mozilla Firefox/nspr.log<br />
start &#8220;Firefox&#8221; /wait &#8220;C:\Program Files\Mozilla Firefox\Firefox.exe&#8221;<br />
type &#8220;C:\Program Files\Mozilla Firefox\nspr.log&#8221; | perl &#8220;C:\Program Files\Mozilla Firefox\leak-guage.pl&#8221; &gt; &#8220;C:\Program Files\Mozilla Firefox\nspr_leaks.log&#8221;<br />
start &#8220;Leaks&#8221; &#8220;C:\Windows\notepad.exe&#8221; &#8220;C:\Program Files\Mozilla Firefox\nspr_leaks.log&#8221;<br />
@echo on</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jesse Ruderman</title>
		<link>http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/#comment-2063</link>
		<dc:creator>Jesse Ruderman</dc:creator>
		<pubDate>Wed, 08 Feb 2006 20:13:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/#comment-2063</guid>
		<description>creeront, Firefox developers do have more sophisticated tools than leak-gauge (I don't know if they use purify in particular).  Those tools don't tell the developers if there's a leak that doesn't occur with the developer's usage patterns / favorite sites / extensions.  Those tools also don't tell developers which leaks actually cause users the most pain, which can help prioritize leak fixing.  It's easier to get dozens of testers to use something like leak-gauge than it is to get dozens of testers to use something like purify :)</description>
		<content:encoded><![CDATA[<p>creeront, Firefox developers do have more sophisticated tools than leak-gauge (I don&#8217;t know if they use purify in particular).  Those tools don&#8217;t tell the developers if there&#8217;s a leak that doesn&#8217;t occur with the developer&#8217;s usage patterns / favorite sites / extensions.  Those tools also don&#8217;t tell developers which leaks actually cause users the most pain, which can help prioritize leak fixing.  It&#8217;s easier to get dozens of testers to use something like leak-gauge than it is to get dozens of testers to use something like purify :)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: creeront</title>
		<link>http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/#comment-2059</link>
		<dc:creator>creeront</dc:creator>
		<pubDate>Wed, 08 Feb 2006 19:17:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/#comment-2059</guid>
		<description>Why does purify not work for the developers of firefox?</description>
		<content:encoded><![CDATA[<p>Why does purify not work for the developers of firefox?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: meneame.net</title>
		<link>http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/#comment-2057</link>
		<dc:creator>meneame.net</dc:creator>
		<pubDate>Wed, 08 Feb 2006 18:16:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.squarefree.com/2006/01/13/memory-leak-detection-tool/#comment-2057</guid>
		<description>&lt;strong&gt;Memory leak detection tool for Firefox., help to get rid of leaks!...&lt;/strong&gt;

"David Baron recently wrote a tool that testers can use to help reduce memory leaks in Firefox. With this tool, you can find out what leaks you encounter during your normal browsing patterns and report useful bugs when you encounter leaks."...</description>
		<content:encoded><![CDATA[<p><strong>Memory leak detection tool for Firefox., help to get rid of leaks!&#8230;</strong></p>
<p>&#8220;David Baron recently wrote a tool that testers can use to help reduce memory leaks in Firefox. With this tool, you can find out what leaks you encounter during your normal browsing patterns and report useful bugs when you encounter leaks.&#8221;&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
