<?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"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: That&#8217;s Not a Memory Leak, It&#8217;s Bloat</title>
	<atom:link href="http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/</link>
	<description></description>
	<lastBuildDate>Wed, 08 Feb 2012 12:12:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Server slower for each successive request - Admins Goodies</title>
		<link>http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/comment-page-1/#comment-58785</link>
		<dc:creator>Server slower for each successive request - Admins Goodies</dc:creator>
		<pubDate>Tue, 16 Aug 2011 13:13:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=1973#comment-58785</guid>
		<description>[...] Memory bloat the second suspect: http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/ [...]</description>
		<content:encoded><![CDATA[<p>[...] Memory bloat the second suspect: <a href="http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/" rel="nofollow">http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/</a> [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tuning the Garbage Collector with Ruby 1.9.2 &#124; Engine Yard Ruby on Rails Blog</title>
		<link>http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/comment-page-1/#comment-58677</link>
		<dc:creator>Tuning the Garbage Collector with Ruby 1.9.2 &#124; Engine Yard Ruby on Rails Blog</dc:creator>
		<pubDate>Fri, 22 Jul 2011 17:57:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=1973#comment-58677</guid>
		<description>[...] overall bloat and create more objects than you really need. Sudara Williams&#8217;s post That&#8217;s Not a Memory Leak, It&#8217;s Bloat explains the symptoms and common use cases quite [...]</description>
		<content:encoded><![CDATA[<p>[...] overall bloat and create more objects than you really need. Sudara Williams&#8217;s post That&#8217;s Not a Memory Leak, It&#8217;s Bloat explains the symptoms and common use cases quite [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Prodis</title>
		<link>http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/comment-page-1/#comment-50416</link>
		<dc:creator>Prodis</dc:creator>
		<pubDate>Fri, 17 Dec 2010 11:03:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=1973#comment-50416</guid>
		<description>&quot;SELECT * FROM...&quot; SQL generated by ActiveRecord is already a bloat.  
For me makes sense &quot;SELECT column1, column2, columnN FROM...&quot; instead of.  </description>
		<content:encoded><![CDATA[<p>&quot;SELECT * FROM&#8230;&quot; SQL generated by ActiveRecord is already a bloat.<br />
For me makes sense &quot;SELECT column1, column2, columnN FROM&#8230;&quot; instead of.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jensebraten</title>
		<link>http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/comment-page-1/#comment-40313</link>
		<dc:creator>Jensebraten</dc:creator>
		<pubDate>Fri, 29 Jan 2010 19:38:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=1973#comment-40313</guid>
		<description>@paul 
why not has_finder ;)  
named_scope :ids, :select =&gt; &#039;id&#039; 
works fine for me with a geodata-set ~650k 
 
 
 </description>
		<content:encoded><![CDATA[<p>@paul<br />
why not has_finder ;)<br />
named_scope :ids, :select =&gt; &#039;id&#039;<br />
works fine for me with a geodata-set ~650k</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben Fyvie</title>
		<link>http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/comment-page-1/#comment-38157</link>
		<dc:creator>Ben Fyvie</dc:creator>
		<pubDate>Thu, 10 Dec 2009 16:16:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=1973#comment-38157</guid>
		<description>You would want to do a find on Posts that does a join to Users to do your condition. For example: 
@posts = Post.find(:all, :joins =&gt; :user, :conditions =&gt; &quot;users.activated = true&quot;) </description>
		<content:encoded><![CDATA[<p>You would want to do a find on Posts that does a join to Users to do your condition. For example:<br />
@posts = Post.find(:all, :joins =&gt; :user, :conditions =&gt; &quot;users.activated = true&quot;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron</title>
		<link>http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/comment-page-1/#comment-37833</link>
		<dc:creator>Aaron</dc:creator>
		<pubDate>Wed, 25 Nov 2009 23:47:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=1973#comment-37833</guid>
		<description>For what its worth regarding profiling tools, the statement &quot;Run these tools in production mode on production data &quot; is not particularly good advice.  While these tools are &quot;... built to be non-obtrusive.&quot; they aren&#039;t as non-obtrusive as they might seem by looking at the code.   
 
We were running with MemoryLogic/memory-usage-logger in production for a long while, having performance problems under even moderate load, and struggle to tune everything.  Eventually, on a lark, we removed the memory-usage-logger and our page render time averages plummeted from 600ms down to 180ms.  Adding back in the memory-usage-logger and our page render times go right back up.  While this is a great tool, it adds way too much overhead to leave in a production environment. </description>
		<content:encoded><![CDATA[<p>For what its worth regarding profiling tools, the statement &quot;Run these tools in production mode on production data &quot; is not particularly good advice.  While these tools are &quot;&#8230; built to be non-obtrusive.&quot; they aren&#039;t as non-obtrusive as they might seem by looking at the code.   </p>
<p>We were running with MemoryLogic/memory-usage-logger in production for a long while, having performance problems under even moderate load, and struggle to tune everything.  Eventually, on a lark, we removed the memory-usage-logger and our page render time averages plummeted from 600ms down to 180ms.  Adding back in the memory-usage-logger and our page render times go right back up.  While this is a great tool, it adds way too much overhead to leave in a production environment.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: foz</title>
		<link>http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/comment-page-1/#comment-37828</link>
		<dc:creator>foz</dc:creator>
		<pubDate>Wed, 25 Nov 2009 14:43:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=1973#comment-37828</guid>
		<description>Whoops that link should have been: 
&lt;a href=&quot;http://www.fozworks.com/2009/11/25/a-really-simple-fix-for-memory-bloat-in-rails&quot; target=&quot;_blank&quot;&gt;http://www.fozworks.com/2009/11/25/a-really-simpl...&lt;/a&gt; </description>
		<content:encoded><![CDATA[<p>Whoops that link should have been:<br />
<a href="http://www.fozworks.com/2009/11/25/a-really-simple-fix-for-memory-bloat-in-rails" target="_blank">http://www.fozworks.com/2009/11/25/a-really-simpl&#8230;</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: foz</title>
		<link>http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/comment-page-1/#comment-37827</link>
		<dc:creator>foz</dc:creator>
		<pubDate>Wed, 25 Nov 2009 14:40:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=1973#comment-37827</guid>
		<description>I discovered that another way to fight bloat is to fork (or thread, or queue) the bloat-inducing code. I&#039;ve written up a blog post about my experiences: &lt;a href=&quot;http://www.fozworks.com/admin/articles/6009&quot; target=&quot;_blank&quot;&gt;http://www.fozworks.com/admin/articles/6009&lt;/a&gt; </description>
		<content:encoded><![CDATA[<p>I discovered that another way to fight bloat is to fork (or thread, or queue) the bloat-inducing code. I&#039;ve written up a blog post about my experiences: <a href="http://www.fozworks.com/admin/articles/6009" target="_blank">http://www.fozworks.com/admin/articles/6009</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sensei</title>
		<link>http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/comment-page-1/#comment-37634</link>
		<dc:creator>sensei</dc:creator>
		<pubDate>Tue, 17 Nov 2009 13:51:06 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=1973#comment-37634</guid>
		<description>Actually User.find returns an association proxy, which isn&#039;t quite the same as an array. it can respond to association methods such as &quot;posts&quot; here. </description>
		<content:encoded><![CDATA[<p>Actually User.find returns an association proxy, which isn&#039;t quite the same as an array. it can respond to association methods such as &quot;posts&quot; here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ikin</title>
		<link>http://www.engineyard.com/blog/2009/thats-not-a-memory-leak-its-bloat/comment-page-1/#comment-37588</link>
		<dc:creator>Ikin</dc:creator>
		<pubDate>Fri, 23 Oct 2009 00:49:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.engineyard.com/blog/?p=1973#comment-37588</guid>
		<description>Thanks Sudara for this superb post! 
Although can you explain more about this statement: 
&quot;Ruby is greedy with memory&#8212;it doesn&#8217;t hand the memory back to the OS after the request&quot; 
 
Do you mean if the request allocate some memory for a variable, that memory is not released after the request? That means the process size will just keep going bigger? 
Thx! </description>
		<content:encoded><![CDATA[<p>Thanks Sudara for this superb post!<br />
Although can you explain more about this statement:<br />
&quot;Ruby is greedy with memory&mdash;it doesn&rsquo;t hand the memory back to the OS after the request&quot; </p>
<p>Do you mean if the request allocate some memory for a variable, that memory is not released after the request? That means the process size will just keep going bigger?<br />
Thx!</p>
]]></content:encoded>
	</item>
</channel>
</rss>

