<?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: GWT Image.prefetch memory leak and suggestions for improvement</title>
	<atom:link href="http://pathfindersoftware.com/2008/01/gwt-imageprefet/feed/" rel="self" type="application/rss+xml" />
	<link>http://pathfindersoftware.com/2008/01/gwt-imageprefet/</link>
	<description>The Fastest Way to Launch Successful Software</description>
	<lastBuildDate>Thu, 19 Jan 2012 16:36:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: joe</title>
		<link>http://pathfindersoftware.com/2008/01/gwt-imageprefet/#comment-7612</link>
		<dc:creator>joe</dc:creator>
		<pubDate>Tue, 28 Sep 2010 16:04:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=104#comment-7612</guid>
		<description>Maybe the solution is to use an LRU (least-recently-used) cache. It discards the least recently used items first. This could be implemented in your own gwt class, without being dependent on the Image class.

For example:

Map mImagePrefetchCache = new LinkedHashMap( MAX_ENTRIES, .75F, true )
        {
            protected boolean removeEldestEntry( Map.Entry eldest )
            {
                return size() &gt; MAX_ENTRIES;
            }
        };</description>
		<content:encoded><![CDATA[<p>Maybe the solution is to use an LRU (least-recently-used) cache. It discards the least recently used items first. This could be implemented in your own gwt class, without being dependent on the Image class.</p>
<p>For example:</p>
<p>Map mImagePrefetchCache = new LinkedHashMap( MAX_ENTRIES, .75F, true )<br />
        {<br />
            protected boolean removeEldestEntry( Map.Entry eldest )<br />
            {<br />
                return size() &gt; MAX_ENTRIES;<br />
            }<br />
        };</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Harold Campbell</title>
		<link>http://pathfindersoftware.com/2008/01/gwt-imageprefet/#comment-7611</link>
		<dc:creator>Harold Campbell</dc:creator>
		<pubDate>Sun, 24 Aug 2008 03:26:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.pathf.com/blogs/?p=104#comment-7611</guid>
		<description>Good point. I had noticed the same thing. I still don&#039;t like the fact that I must explicitly call the release. I think the framework should be smart enough to GC the images in the prefetchImages HashMap</description>
		<content:encoded><![CDATA[<p>Good point. I had noticed the same thing. I still don&#8217;t like the fact that I must explicitly call the release. I think the framework should be smart enough to GC the images in the prefetchImages HashMap</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic (User agent is rejected)
Page Caching using memcached (User agent is rejected)

Served from: pathfindersoftware.com @ 2012-02-09 16:27:36 -->
