<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Shawn Wilsher &#187; leaks</title>
	<atom:link href="http://shawnwilsher.com/archives/tag/leaks/feed" rel="self" type="application/rss+xml" />
	<link>http://shawnwilsher.com</link>
	<description></description>
	<lastBuildDate>Sun, 04 Dec 2011 10:37:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Asynchronous Location Bar Searches</title>
		<link>http://shawnwilsher.com/archives/255</link>
		<comments>http://shawnwilsher.com/archives/255#comments</comments>
		<pubDate>Wed, 11 Mar 2009 21:43:30 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[leaks]]></category>
		<category><![CDATA[location bar]]></category>
		<category><![CDATA[mozStorage]]></category>

		<guid isPermaLink="false">http://shawnwilsher.com/?p=255</guid>
		<description><![CDATA[For those of you using the asynchronous location bar add-on, today&#8217;s nightly of both mozilla-central and mozilla-1.9.1 should show a reduction in memory use. Turns out there was a bit of a leak in mozStorage that would mean you&#8217;d get high memory usage that would never go down. My bad. For those of your programmers [...]]]></description>
			<content:encoded><![CDATA[<p>For those of you using the <a href="http://shawnwilsher.com/archives/239">asynchronous location bar add-on</a>, today&#8217;s nightly of both mozilla-central and mozilla-1.9.1 should show a reduction in memory use.  Turns out there was <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=482614" title=" mozStorageVariant leaks its internal data due to non-virtual destructor">a bit of a leak in mozStorage</a> that would mean you&#8217;d get high memory usage that would never go down.  My bad.</p>
<p>For those of your programmers out there, I have a word of advice.  Always make sure you have a virtual destructor in your base class.  If you don&#8217;t, you could spend days tracking down a leak that doesn&#8217;t seem to make sense.  Of course, this probably would have been spotted earlier if we <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=469523" title="Enable TUnit leak log in tinderbox (log)">reported leaks in xpcshell unit tests</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/255/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Browser Chrome Tests No Longer Leak</title>
		<link>http://shawnwilsher.com/archives/205</link>
		<comments>http://shawnwilsher.com/archives/205#comments</comments>
		<pubDate>Thu, 22 Jan 2009 00:10:17 +0000</pubDate>
		<dc:creator>Shawn Wilsher</dc:creator>
				<category><![CDATA[Mozilla]]></category>
		<category><![CDATA[leaks]]></category>
		<category><![CDATA[tests]]></category>

		<guid isPermaLink="false">http://shawnwilsher.com/?p=205</guid>
		<description><![CDATA[I just checked in bug 473845 which fixed the last persistent leak in browser chrome tests. It also dropped the leak threshold down to zero for those tests, so leakers will be spotted immediately and properly backed out. Rejoice!]]></description>
			<content:encoded><![CDATA[<p>I just checked in <a href="https://bugzilla.mozilla.org/show_bug.cgi?id=473845" title="Break a potential cycle with XPConnect and mozStorageService">bug 473845</a> which fixed the last persistent leak in browser chrome tests.  It also dropped the leak threshold down to zero for those tests, so leakers will be spotted immediately and properly backed out.</p>
<p>Rejoice!</p>
]]></content:encoded>
			<wfw:commentRss>http://shawnwilsher.com/archives/205/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>

