<?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: My memory leak in pictures</title>
	<atom:link href="http://www.ghidinelli.com/2009/08/25/my-memory-leak-in-pictures/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ghidinelli.com/2009/08/25/my-memory-leak-in-pictures</link>
	<description></description>
	<lastBuildDate>Thu, 01 Jun 2017 18:51:00 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Using Transfer&#8217;s new EHCache &#187; ghidinelli.com</title>
		<link>http://www.ghidinelli.com/2009/08/25/my-memory-leak-in-pictures/comment-page-1#comment-58921</link>
		<dc:creator>Using Transfer&#8217;s new EHCache &#187; ghidinelli.com</dc:creator>
		<pubDate>Thu, 19 Nov 2009 05:29:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=907#comment-58921</guid>
		<description>[...] Delete all of your *.transfer files from your generated folder and restart your application. You should see it come back up, just like it always has. The difference? No more leaky SoftReferences! [...]</description>
		<content:encoded><![CDATA[<p>[...] Delete all of your *.transfer files from your generated folder and restart your application. You should see it come back up, just like it always has. The difference? No more leaky SoftReferences! [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.ghidinelli.com/2009/08/25/my-memory-leak-in-pictures/comment-page-1#comment-58827</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Thu, 12 Nov 2009 00:51:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=907#comment-58827</guid>
		<description>@Chris - I did work out the root cause with Mark Mandel unfortunately there was no resolution.  It ultimately wound up in this:  http://www.ghidinelli.com/2009/09/21/match-bounty-transfer-cache-improvements which succeeded and the work is currently underway.  We should have something to test here in the next few days and then goodbye internal Transfer cache and hello memory stability!

FWIW, moving back from JDK 1.6.0_u14 to u10 made the app last about 3x longer (roughly a week at a go instead of ~2 days).  No reason why that should be the case but... that&#039;s where we are today, waiting for Mark to finish the caching update.</description>
		<content:encoded><![CDATA[<p>@Chris &#8211; I did work out the root cause with Mark Mandel unfortunately there was no resolution.  It ultimately wound up in this:  <a href="http://www.ghidinelli.com/2009/09/21/match-bounty-transfer-cache-improvements" rel="nofollow">http://www.ghidinelli.com/2009/09/21/match-bounty-transfer-cache-improvements</a> which succeeded and the work is currently underway.  We should have something to test here in the next few days and then goodbye internal Transfer cache and hello memory stability!</p>
<p>FWIW, moving back from JDK 1.6.0_u14 to u10 made the app last about 3x longer (roughly a week at a go instead of ~2 days).  No reason why that should be the case but&#8230; that&#8217;s where we are today, waiting for Mark to finish the caching update.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chris Peterson</title>
		<link>http://www.ghidinelli.com/2009/08/25/my-memory-leak-in-pictures/comment-page-1#comment-58818</link>
		<dc:creator>Chris Peterson</dc:creator>
		<pubDate>Wed, 11 Nov 2009 19:13:44 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=907#comment-58818</guid>
		<description>Brian,

Did you ever work out what in Transfer was keeping that reference, and get a solid resolution to this issue?  Just curious what you ended up with!

Chris Peterson</description>
		<content:encoded><![CDATA[<p>Brian,</p>
<p>Did you ever work out what in Transfer was keeping that reference, and get a solid resolution to this issue?  Just curious what you ended up with!</p>
<p>Chris Peterson</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ubuntubugs: [440985] ld thrashes system while compiling following &#8230; &#124; DevBlogr</title>
		<link>http://www.ghidinelli.com/2009/08/25/my-memory-leak-in-pictures/comment-page-1#comment-58331</link>
		<dc:creator>ubuntubugs: [440985] ld thrashes system while compiling following &#8230; &#124; DevBlogr</dc:creator>
		<pubDate>Sun, 04 Oct 2009 22:15:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=907#comment-58331</guid>
		<description>[...] My memory leak in pictures » ghidinelli.com [...]</description>
		<content:encoded><![CDATA[<p>[...] My memory leak in pictures » ghidinelli.com [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brian</title>
		<link>http://www.ghidinelli.com/2009/08/25/my-memory-leak-in-pictures/comment-page-1#comment-57964</link>
		<dc:creator>brian</dc:creator>
		<pubDate>Wed, 09 Sep 2009 17:25:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=907#comment-57964</guid>
		<description>It&#039;s worth noting that the bug 72641 mentioned above was actually fixed in CHF2, which we had applied previously, and which appeared to do nothing for our particular issue.

Tentatively, we have radically improved our situation by going from 1.6.0 U12 and U14 back to U10.  With that change we have been up for over a week without a restart and still have 30% free memory.  I don&#039;t think it has solved the issue but we&#039;re making progress and at least I don&#039;t have to babysit the servers ever 48 hours.  Mark Mandel can&#039;t reproduce the issue despite having seen it in my heap dump so we&#039;re struggling with how to actually fix.</description>
		<content:encoded><![CDATA[<p>It&#8217;s worth noting that the bug 72641 mentioned above was actually fixed in CHF2, which we had applied previously, and which appeared to do nothing for our particular issue.</p>
<p>Tentatively, we have radically improved our situation by going from 1.6.0 U12 and U14 back to U10.  With that change we have been up for over a week without a restart and still have 30% free memory.  I don&#8217;t think it has solved the issue but we&#8217;re making progress and at least I don&#8217;t have to babysit the servers ever 48 hours.  Mark Mandel can&#8217;t reproduce the issue despite having seen it in my heap dump so we&#8217;re struggling with how to actually fix.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian</title>
		<link>http://www.ghidinelli.com/2009/08/25/my-memory-leak-in-pictures/comment-page-1#comment-57842</link>
		<dc:creator>Brian</dc:creator>
		<pubDate>Tue, 01 Sep 2009 18:10:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=907#comment-57842</guid>
		<description>Wow!  This is a big update, thanks for posting here Brett!  I&#039;m going to apply it tonight.  An uUpdate on working with Mark - turns out he had a faulty unit test so we don&#039;t have a culprit yet.  We know what&#039;s holding onto the references (reapMap) but not why.</description>
		<content:encoded><![CDATA[<p>Wow!  This is a big update, thanks for posting here Brett!  I&#8217;m going to apply it tonight.  An uUpdate on working with Mark &#8211; turns out he had a faulty unit test so we don&#8217;t have a culprit yet.  We know what&#8217;s holding onto the references (reapMap) but not why.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://www.ghidinelli.com/2009/08/25/my-memory-leak-in-pictures/comment-page-1#comment-57841</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Tue, 01 Sep 2009 13:48:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=907#comment-57841</guid>
		<description>@Steve - I never tested it with Application.cfc but that would be a huge hotspot if it had the same issue.

I just tested the new Cumulative Hot Fix 3 for ColdFusion 8.0.1 and this Issue is finally fixed.  I assume this is the fix mentioned for 

bug 72641
&quot;Fix for memory leaks with CFCs stored in memory scopes. Note, this does not eliminate need for proper use of VAR scope in CFC methods.&quot;	

http://kb2.adobe.com/cps/511/cpsid_51180.html</description>
		<content:encoded><![CDATA[<p>@Steve &#8211; I never tested it with Application.cfc but that would be a huge hotspot if it had the same issue.</p>
<p>I just tested the new Cumulative Hot Fix 3 for ColdFusion 8.0.1 and this Issue is finally fixed.  I assume this is the fix mentioned for </p>
<p>bug 72641<br />
&#8220;Fix for memory leaks with CFCs stored in memory scopes. Note, this does not eliminate need for proper use of VAR scope in CFC methods.&#8221;	</p>
<p><a href="http://kb2.adobe.com/cps/511/cpsid_51180.html" rel="nofollow">http://kb2.adobe.com/cps/511/cpsid_51180.html</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steve 'Cutter' Blades</title>
		<link>http://www.ghidinelli.com/2009/08/25/my-memory-leak-in-pictures/comment-page-1#comment-57766</link>
		<dc:creator>Steve 'Cutter' Blades</dc:creator>
		<pubDate>Thu, 27 Aug 2009 22:13:36 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=907#comment-57766</guid>
		<description>@Brian -

Glad you&#039;ve figured it out. I look forward to seeing how you finally tracked it down, and what it took to fix it.

@Brett -

Interesting link there. I&#039;m especially interested in this statement:

&quot;Components should not be set assigned to sessions from within another component&quot;

I would think that would include Application.cfc, which is where we place many different components into the SESSION scope, within the onSessionStart() method. (Glad to hear it&#039;s resolved in CF9, but I imagine some folks have a more immediate need...)</description>
		<content:encoded><![CDATA[<p>@Brian -</p>
<p>Glad you&#8217;ve figured it out. I look forward to seeing how you finally tracked it down, and what it took to fix it.</p>
<p>@Brett -</p>
<p>Interesting link there. I&#8217;m especially interested in this statement:</p>
<p>&#8220;Components should not be set assigned to sessions from within another component&#8221;</p>
<p>I would think that would include Application.cfc, which is where we place many different components into the SESSION scope, within the onSessionStart() method. (Glad to hear it&#8217;s resolved in CF9, but I imagine some folks have a more immediate need&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brett</title>
		<link>http://www.ghidinelli.com/2009/08/25/my-memory-leak-in-pictures/comment-page-1#comment-57765</link>
		<dc:creator>Brett</dc:creator>
		<pubDate>Thu, 27 Aug 2009 20:49:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=907#comment-57765</guid>
		<description>These are a lot of &quot;fun&quot;, glad you guys have uncovered the culprit.  I&#039;m curious to hear what was causing it.

We ran into a memory leak in CF8 about a year ago, it took a while to trace it down but I isolated it in about 50 lines of code.

It does not look like the problem above, our issue was that there were components leaking into sessions which on a high traffic site ate all our memory.

The bad news is the issue still exists in CF8, the good news is it appears fixed in CF9.

If anyone is interested, I posted the code to reproduce it here:

http://drop.io/memleak

You&#039;ll want JMC memleak running when you run the code so you can see the number of instances of a locally scoped CFC persist for the life of the session.

Hope it helps someone - it was a week I don&#039;t want to relive.</description>
		<content:encoded><![CDATA[<p>These are a lot of &#8220;fun&#8221;, glad you guys have uncovered the culprit.  I&#8217;m curious to hear what was causing it.</p>
<p>We ran into a memory leak in CF8 about a year ago, it took a while to trace it down but I isolated it in about 50 lines of code.</p>
<p>It does not look like the problem above, our issue was that there were components leaking into sessions which on a high traffic site ate all our memory.</p>
<p>The bad news is the issue still exists in CF8, the good news is it appears fixed in CF9.</p>
<p>If anyone is interested, I posted the code to reproduce it here:</p>
<p><a href="http://drop.io/memleak" rel="nofollow">http://drop.io/memleak</a></p>
<p>You&#8217;ll want JMC memleak running when you run the code so you can see the number of instances of a locally scoped CFC persist for the life of the session.</p>
<p>Hope it helps someone &#8211; it was a week I don&#8217;t want to relive.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: marc esher</title>
		<link>http://www.ghidinelli.com/2009/08/25/my-memory-leak-in-pictures/comment-page-1#comment-57740</link>
		<dc:creator>marc esher</dc:creator>
		<pubDate>Wed, 26 Aug 2009 11:36:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.ghidinelli.com/?p=907#comment-57740</guid>
		<description>Brian,
  when I mentioned increasing frequency, I meant adding something like this to your jvm settings: -Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000

which would cause GC every 10 minutes.

That&#039;s great news that you guys have figured it out. I&#039;d love to see how you used MAT to get to the answer, because like you, I find &quot;getting to the object&quot; to be somewhat dark art, somewhat hunched-over-till-your-neck hurts persistence. If there&#039;s an easier way, I&#039;d love to learn about it.</description>
		<content:encoded><![CDATA[<p>Brian,<br />
  when I mentioned increasing frequency, I meant adding something like this to your jvm settings: -Dsun.rmi.dgc.client.gcInterval=600000 -Dsun.rmi.dgc.server.gcInterval=600000</p>
<p>which would cause GC every 10 minutes.</p>
<p>That&#8217;s great news that you guys have figured it out. I&#8217;d love to see how you used MAT to get to the answer, because like you, I find &#8220;getting to the object&#8221; to be somewhat dark art, somewhat hunched-over-till-your-neck hurts persistence. If there&#8217;s an easier way, I&#8217;d love to learn about it.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
