<?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: Safari&#8217;s Memory Usage</title>
	<atom:link href="http://nslog.com/2007/02/27/safaris_memory_usage/feed" rel="self" type="application/rss+xml" />
	<link>http://nslog.com/2007/02/27/safaris_memory_usage</link>
	<description>The Weblog of Erik J. Barzeski</description>
	<pubDate>Sun, 20 Jul 2008 04:17:49 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
		<item>
		<title>By: Erik J. Barzeski</title>
		<link>http://nslog.com/2007/02/27/safaris_memory_usage#comment-39731</link>
		<dc:creator>Erik J. Barzeski</dc:creator>
		<pubDate>Thu, 01 Mar 2007 04:36:44 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2007/02/27/safaris_cpu_and_memory_usage#comment-39731</guid>
		<description>Quick Note: I updated the original post (and URL) to more accurately reflect my thoughts and to include a pointer to the many useful comments, none of which come from me. :-D</description>
		<content:encoded><![CDATA[<p>Quick Note: I updated the original post (and URL) to more accurately reflect my thoughts and to include a pointer to the many useful comments, none of which come from me. <img src='http://nslog.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':-D' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik J. Barzeski</title>
		<link>http://nslog.com/2007/02/27/safaris_memory_usage#comment-39727</link>
		<dc:creator>Erik J. Barzeski</dc:creator>
		<pubDate>Thu, 01 Mar 2007 01:40:22 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2007/02/27/safaris_cpu_and_memory_usage#comment-39727</guid>
		<description>[quote comment="39725"]Wonderful, so instead people's &lt;strong&gt;completely valid comments&lt;/strong&gt; are dropped without warning?[/quote]

I'm not going to justify a blogger's need to install and use anti-spam software. In this particular case, your comment was shuffled to the spam queue because you included a number of links. I saw it there and authorized it, albeit hours after it was posted.

[quote comment="39725"]In particular, I can recall three big changes in the last six weeks that will reduce memory footprint.[/quote]

Good. That's all I was looking for - a statement re: the memory footprint. Contrary to your belief, I don't use my blog to spread FUD - I use it to find answers and get to the bottom of things. By posting, I've drawn you (and others) here, and anyone reading the comments becomes informed.

Case closed: Leopard's Safari may indeed use less RAM. Thank you.

[quote comment="39725"]WebKit was very aggressive in caching pages in memory, and could potentially cache up to sixteen pages &lt;em&gt;per tab&lt;/em&gt; in some situations. This has been scaled back to a slightly more reasonable limit.[/quote]

Indeed, that sounds excessive.</description>
		<content:encoded><![CDATA[<p class="quote_header"><a href="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39725">Mark Rowe said</a> on February 28, 2007:</p>
<blockquote cite="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39725"><p>
Wonderful, so instead people's <strong>completely valid comments</strong> are dropped without warning?</p>
</blockquote>
<p>I'm not going to justify a blogger's need to install and use anti-spam software. In this particular case, your comment was shuffled to the spam queue because you included a number of links. I saw it there and authorized it, albeit hours after it was posted.</p>
<p class="quote_header"><a href="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39725">Mark Rowe said</a> on February 28, 2007:</p>
<blockquote cite="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39725"><p>
In particular, I can recall three big changes in the last six weeks that will reduce memory footprint.</p>
</blockquote>
<p>Good. That's all I was looking for - a statement re: the memory footprint. Contrary to your belief, I don't use my blog to spread FUD - I use it to find answers and get to the bottom of things. By posting, I've drawn you (and others) here, and anyone reading the comments becomes informed.</p>
<p>Case closed: Leopard's Safari may indeed use less RAM. Thank you.</p>
<p class="quote_header"><a href="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39725">Mark Rowe said</a> on February 28, 2007:</p>
<blockquote cite="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39725"><p>
WebKit was very aggressive in caching pages in memory, and could potentially cache up to sixteen pages <em>per tab</em> in some situations. This has been scaled back to a slightly more reasonable limit.</p>
</blockquote>
<p>Indeed, that sounds excessive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Rowe</title>
		<link>http://nslog.com/2007/02/27/safaris_memory_usage#comment-39725</link>
		<dc:creator>Mark Rowe</dc:creator>
		<pubDate>Wed, 28 Feb 2007 23:48:15 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2007/02/27/safaris_cpu_and_memory_usage#comment-39725</guid>
		<description>[quote comment="39718"]More likely it's the combination of Bad Behavior and/or Akismet. I rarely see spam that needs moderated anymore, and Bad Behavior blocks a lot of people before they reach a point where I get to see it (though it usually gives an error message and a code, I believe).[/quote]

Wonderful, so instead people's &lt;strong&gt;completely valid comments&lt;/strong&gt; are dropped without warning?

The gist of my comment is that the latest development versions of WebKit are very different from the currently shipping version.  The version shipping with Mac OS X is nearly two years old, and many hundreds of bugs have been fixed.  In particular, I can recall three big changes in the last six weeks that will reduce memory footprint.  One fixes a leak which occurs in particular cases with the &lt;em&gt;removeEventListener&lt;/em&gt; function, a second addresses a reference cycle than can occur when futzing with object prototypes in a certain manner, and another more intelligently manages the memory used when a plugin requests resources.  There is also the change in in-memory caching that several people have mentioned: WebKit was very aggressive in caching pages in memory, and could potentially cache up to sixteen pages &lt;em&gt;per tab&lt;/em&gt; in some situations.  This has been scaled back to a slightly more reasonable limit.

[quote comment="39718"]As to "it's open source," sure. But until that source is running on the final version of Leopard with whatever "secrets" are still being kept by the mother ship, it's still all speculation.[/quote]

It's all speculation as to the specific revision of WebKit that will make its way into Leopard, but I highly doubt that Apple is going to go back through and pull out half of the fixes that have been made over the last two years.  Yes, I admit that talking about development builds of WebKit is a bit annoying given that they're not usable by the average person, but there is good evidence to suggest that whatever version of WebKit ends up in Leopard will not differ too markedly from the version of WebKit currently available via the nightly builds.  As such, they are a good defence against the FUD you seem to be trying to spread.</description>
		<content:encoded><![CDATA[<p class="quote_header"><a href="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39718">Erik J. Barzeski said</a> on February 28, 2007:</p>
<blockquote cite="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39718"><p>
More likely it's the combination of Bad Behavior and/or Akismet. I rarely see spam that needs moderated anymore, and Bad Behavior blocks a lot of people before they reach a point where I get to see it (though it usually gives an error message and a code, I believe).</p>
</blockquote>
<p>Wonderful, so instead people's <strong>completely valid comments</strong> are dropped without warning?</p>
<p>The gist of my comment is that the latest development versions of WebKit are very different from the currently shipping version.  The version shipping with Mac OS X is nearly two years old, and many hundreds of bugs have been fixed.  In particular, I can recall three big changes in the last six weeks that will reduce memory footprint.  One fixes a leak which occurs in particular cases with the <em>removeEventListener</em> function, a second addresses a reference cycle than can occur when futzing with object prototypes in a certain manner, and another more intelligently manages the memory used when a plugin requests resources.  There is also the change in in-memory caching that several people have mentioned: WebKit was very aggressive in caching pages in memory, and could potentially cache up to sixteen pages <em>per tab</em> in some situations.  This has been scaled back to a slightly more reasonable limit.</p>
<p class="quote_header"><a href="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39718">Erik J. Barzeski said</a> on February 28, 2007:</p>
<blockquote cite="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39718"><p>
As to "it's open source," sure. But until that source is running on the final version of Leopard with whatever "secrets" are still being kept by the mother ship, it's still all speculation.</p>
</blockquote>
<p>It's all speculation as to the specific revision of WebKit that will make its way into Leopard, but I highly doubt that Apple is going to go back through and pull out half of the fixes that have been made over the last two years.  Yes, I admit that talking about development builds of WebKit is a bit annoying given that they're not usable by the average person, but there is good evidence to suggest that whatever version of WebKit ends up in Leopard will not differ too markedly from the version of WebKit currently available via the nightly builds.  As such, they are a good defence against the FUD you seem to be trying to spread.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Zornek</title>
		<link>http://nslog.com/2007/02/27/safaris_memory_usage#comment-39724</link>
		<dc:creator>Mike Zornek</dc:creator>
		<pubDate>Wed, 28 Feb 2007 22:24:40 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2007/02/27/safaris_cpu_and_memory_usage#comment-39724</guid>
		<description>In my own experience I've seen Safari use similar memory footprints as well. When I was on my iMac that only had a 1GB of RAM I was constantly relaunching Safari to reset it's memory back to a reasonable size.</description>
		<content:encoded><![CDATA[<p>In my own experience I've seen Safari use similar memory footprints as well. When I was on my iMac that only had a 1GB of RAM I was constantly relaunching Safari to reset it's memory back to a reasonable size.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Erik J. Barzeski</title>
		<link>http://nslog.com/2007/02/27/safaris_memory_usage#comment-39718</link>
		<dc:creator>Erik J. Barzeski</dc:creator>
		<pubDate>Wed, 28 Feb 2007 14:39:51 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2007/02/27/safaris_cpu_and_memory_usage#comment-39718</guid>
		<description>[quote comment="39708"]I'll second Mark's comment.  Background CPU usage and memory use have nothing to do with each other.[/quote]

I never said they did, Eric.

[quote comment="39714"]Mark, you'll find quite a few comments get moderated around here.  Of course the tubes simply could have been full or leaky as well.[/quote]

More likely it's the combination of Bad Behavior and/or Akismet. I rarely see spam that needs moderated anymore, and Bad Behavior blocks a lot of people before they reach a point where I get to see it (though it usually gives an error message and a code, I believe).

As to "it's open source," sure. But until that source is running on the final version of Leopard with whatever "secrets" are still being kept by the mother ship, it's still all speculation.</description>
		<content:encoded><![CDATA[<p class="quote_header"><a href="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39708">Eric Albert said</a> on February 27, 2007:</p>
<blockquote cite="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39708"><p>
I'll second Mark's comment.  Background CPU usage and memory use have nothing to do with each other.</p>
</blockquote>
<p>I never said they did, Eric.</p>
<p class="quote_header"><a href="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39714">TheSpecialOne said</a> on February 28, 2007:</p>
<blockquote cite="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39714"><p>
Mark, you'll find quite a few comments get moderated around here.  Of course the tubes simply could have been full or leaky as well.</p>
</blockquote>
<p>More likely it's the combination of Bad Behavior and/or Akismet. I rarely see spam that needs moderated anymore, and Bad Behavior blocks a lot of people before they reach a point where I get to see it (though it usually gives an error message and a code, I believe).</p>
<p>As to "it's open source," sure. But until that source is running on the final version of Leopard with whatever "secrets" are still being kept by the mother ship, it's still all speculation.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: TheSpecialOne</title>
		<link>http://nslog.com/2007/02/27/safaris_memory_usage#comment-39714</link>
		<dc:creator>TheSpecialOne</dc:creator>
		<pubDate>Wed, 28 Feb 2007 06:40:56 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2007/02/27/safaris_cpu_and_memory_usage#comment-39714</guid>
		<description>[quote comment="39709"]I posted a followup comment here an hour or so ago, but it appears to have been eaten?  What's up with that?[/quote]


Mark, you'll find quite a few comments get moderated around here.  Of course the tubes simply could have been full or leaky as well.</description>
		<content:encoded><![CDATA[<p class="quote_header"><a href="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39709">Mark Rowe said</a> on February 27, 2007:</p>
<blockquote cite="http://nslog.com/2007/02/27/safaris_memory_usage#comment-39709"><p>
I posted a followup comment here an hour or so ago, but it appears to have been eaten?  What's up with that?</p>
</blockquote>
<p>Mark, you'll find quite a few comments get moderated around here.  Of course the tubes simply could have been full or leaky as well.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: PatrickQG</title>
		<link>http://nslog.com/2007/02/27/safaris_memory_usage#comment-39713</link>
		<dc:creator>PatrickQG</dc:creator>
		<pubDate>Wed, 28 Feb 2007 05:58:15 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2007/02/27/safaris_cpu_and_memory_usage#comment-39713</guid>
		<description>Using Flickr, by opening all the unseen photos from my contacts for a, say, two week period I can get Flickr to use 1.1GB real/2GB virtual. But that's with a couple of hundred tabs open, all with Flickr photo pages. That many tends to make any browser soil its pants and go home crying to its mother. Safari, at least, while using all that ram keeps on trucking, and indeed seems to remain very responsive. 

Of course, I'm not trying to use (say) Aperture while doing that :)</description>
		<content:encoded><![CDATA[<p>Using Flickr, by opening all the unseen photos from my contacts for a, say, two week period I can get Flickr to use 1.1GB real/2GB virtual. But that's with a couple of hundred tabs open, all with Flickr photo pages. That many tends to make any browser soil its pants and go home crying to its mother. Safari, at least, while using all that ram keeps on trucking, and indeed seems to remain very responsive. </p>
<p>Of course, I'm not trying to use (say) Aperture while doing that <img src='http://nslog.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike Cohen</title>
		<link>http://nslog.com/2007/02/27/safaris_memory_usage#comment-39712</link>
		<dc:creator>Mike Cohen</dc:creator>
		<pubDate>Wed, 28 Feb 2007 05:17:16 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2007/02/27/safaris_cpu_and_memory_usage#comment-39712</guid>
		<description>I find that Firefox uses less memory &#38; CPU time than Safari and it doesn't start slowing down after a few hours. I also found that Opera uses even less and is much faster, but I only lasted a day with it before I switched back to Firefox.</description>
		<content:encoded><![CDATA[<p>I find that Firefox uses less memory &amp; CPU time than Safari and it doesn't start slowing down after a few hours. I also found that Opera uses even less and is much faster, but I only lasted a day with it before I switched back to Firefox.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David Smith</title>
		<link>http://nslog.com/2007/02/27/safaris_memory_usage#comment-39710</link>
		<dc:creator>David Smith</dc:creator>
		<pubDate>Wed, 28 Feb 2007 04:41:33 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2007/02/27/safaris_cpu_and_memory_usage#comment-39710</guid>
		<description>Trunk webkit is much faster and uses much less ram than the released version. There have been a number of blog posts about it, although iirc not one specifically about memory usage (it'd be nice to have one just to publicize it; the cache fix a while back made a huge difference). 

Overall I really fail to see why anyone would try to guess based on blog posts when it's an open source project, with every commit logged and nightly builds available...</description>
		<content:encoded><![CDATA[<p>Trunk webkit is much faster and uses much less ram than the released version. There have been a number of blog posts about it, although iirc not one specifically about memory usage (it'd be nice to have one just to publicize it; the cache fix a while back made a huge difference). </p>
<p>Overall I really fail to see why anyone would try to guess based on blog posts when it's an open source project, with every commit logged and nightly builds available...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark Rowe</title>
		<link>http://nslog.com/2007/02/27/safaris_memory_usage#comment-39709</link>
		<dc:creator>Mark Rowe</dc:creator>
		<pubDate>Wed, 28 Feb 2007 04:23:48 +0000</pubDate>
		<guid isPermaLink="false">http://nslog.com/2007/02/27/safaris_cpu_and_memory_usage#comment-39709</guid>
		<description>I posted a followup comment here an hour or so ago, but it appears to have been eaten?  What's up with that?</description>
		<content:encoded><![CDATA[<p>I posted a followup comment here an hour or so ago, but it appears to have been eaten?  What's up with that?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
