<?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>The Thinking Lemur &#187; Thinking</title>
	<atom:link href="http://thinkinglemur.com/index.php/category/thinking/feed/" rel="self" type="application/rss+xml" />
	<link>http://thinkinglemur.com</link>
	<description>from the mind of Donnie Bachan</description>
	<lastBuildDate>Fri, 06 Jan 2012 10:42:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Google&#8217;s recent UI changes get a +1</title>
		<link>http://thinkinglemur.com/index.php/2011/07/googles-recent-ui-changes-get-a-1/</link>
		<comments>http://thinkinglemur.com/index.php/2011/07/googles-recent-ui-changes-get-a-1/#comments</comments>
		<pubDate>Fri, 08 Jul 2011 00:30:45 +0000</pubDate>
		<dc:creator>Donnie Bachan</dc:creator>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://thinkinglemur.com/?p=457</guid>
		<description><![CDATA[I finally had a chance to look at Google+ tonight and in all honesty it is everything I expected it to be. It isn't much at the moment since being on a social network without many friends is like being at a rock concert by yourself. However, the user interface really appeals to me. In [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2011%2F07%2Fgoogles-recent-ui-changes-get-a-1%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2011%2F07%2Fgoogles-recent-ui-changes-get-a-1%2F&amp;source=thinkinglemur&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I finally had a chance to look at Google+ tonight and in all honesty it is everything I expected it to be. It isn't much at the moment since being on a social network without many friends is like being at a rock concert by yourself. However, the user interface really appeals to me. In fact, all of the UI changes implemented by Google in recent days are exceptional. Yes, people will still find faults but I like the consistency across the services. The design itself makes really good use of soft lines and subtle highlights. I've also loaded the new design for Gmail, which is particularly stunning. The additional white space and sparing use of color as prominent call to actions is really exceptional. I suppose it will only be a matter of time before this is rolled out across the other properties. I know this would be a welcome change to the Google Docs section.</p>
<p>All in all I like the direction that Google is taking. Consistency in branding is always a big plus.</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkinglemur.com/index.php/2011/07/googles-recent-ui-changes-get-a-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Column formats in  CFSpreadsheet</title>
		<link>http://thinkinglemur.com/index.php/2011/05/column-formats-in-cfspreadsheet/</link>
		<comments>http://thinkinglemur.com/index.php/2011/05/column-formats-in-cfspreadsheet/#comments</comments>
		<pubDate>Fri, 06 May 2011 00:22:46 +0000</pubDate>
		<dc:creator>Donnie Bachan</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://thinkinglemur.com/?p=449</guid>
		<description><![CDATA[I really like the spreadsheet functions added to ColdFusion 9. It makes my life so much easier but I discovered an annoyance with the spreadsheetFormatColumn function today. It would seem that you have to set the column formats after you add data to a spreadsheet. If you attempt to set it before calling spreadsheetAddRows it [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2011%2F05%2Fcolumn-formats-in-cfspreadsheet%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2011%2F05%2Fcolumn-formats-in-cfspreadsheet%2F&amp;source=thinkinglemur&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I really like the spreadsheet functions added to ColdFusion 9. It makes my life so much easier but I discovered an annoyance with the spreadsheetFormatColumn function today. It would seem that you have to set the column formats after you add data to a spreadsheet. If you attempt to set it before calling spreadsheetAddRows it will set the column format to default. Not cool.</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkinglemur.com/index.php/2011/05/column-formats-in-cfspreadsheet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Can Delicious be resurrected?</title>
		<link>http://thinkinglemur.com/index.php/2011/04/can-delicious-be-resurrected/</link>
		<comments>http://thinkinglemur.com/index.php/2011/04/can-delicious-be-resurrected/#comments</comments>
		<pubDate>Wed, 27 Apr 2011 23:47:12 +0000</pubDate>
		<dc:creator>Donnie Bachan</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Web 2.0]]></category>

		<guid isPermaLink="false">http://thinkinglemur.com/?p=434</guid>
		<description><![CDATA[I was a big fan of Delicious because keeping track of all the sites that interest me is a hard task. The problem with this service though is that it is difficult to easily access the information unless you install a plugin on every browser that you use. This is even more of a problem [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2011%2F04%2Fcan-delicious-be-resurrected%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2011%2F04%2Fcan-delicious-be-resurrected%2F&amp;source=thinkinglemur&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I was a big fan of Delicious because keeping track of all the sites that interest me is a hard task. The problem with this service though is that it is difficult to easily access the information unless you install a plugin on every browser that you use. This is even more of a problem when you have several machines both at home and at work. Of course, you can visit the site but the workflow is not ideal. The advent of tabs in browsers can allow you to open Delicious in one tab while working on other tabs, however, do you really want to have to keep that service open all the time? It just doesn't feel important enough.</p>
<p>My current solution to the bookmarking problem is to use Gmail. I email myself links then use labels to organise them. Again, not ideal, but it has two advantages over Delicious.</p>
<ol>
<li>I typically always have Gmail open in a tab during the day</li>
<li>Gmail is with me everywhere, including on my mobile devices</li>
</ol>
<p>I believe that Delicious can be resurrected if it can overcome these two main hurdles. Can the YouTube founders do this? Maybe, but it would be very difficult. The incarnation of the service will have to be much more compelling than it is currently. A utopian solution would be to get the main browser creators to include a reference to a universal bookmarking service that uses Twitter or Facebook logins for access. Hey, I never said I wasn't a dreamer!</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkinglemur.com/index.php/2011/04/can-delicious-be-resurrected/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Railo 3.2 + Tomcat + Mac Snow Leopard + Permission Denied</title>
		<link>http://thinkinglemur.com/index.php/2011/04/railo-3-2-tomcat-mac-snow-leopard-permission-denied/</link>
		<comments>http://thinkinglemur.com/index.php/2011/04/railo-3-2-tomcat-mac-snow-leopard-permission-denied/#comments</comments>
		<pubDate>Sun, 24 Apr 2011 21:09:05 +0000</pubDate>
		<dc:creator>Donnie Bachan</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tomcat]]></category>

		<guid isPermaLink="false">http://thinkinglemur.com/?p=430</guid>
		<description><![CDATA[I've finally started playing with Railo and tried installing it on my Mac with Snow Leopard installed. I wasn't able to get it to run initially but had to make two quick changes to get it running: Give the current user (the user under which you are currently logged in) Read + Write access to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2011%2F04%2Frailo-3-2-tomcat-mac-snow-leopard-permission-denied%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2011%2F04%2Frailo-3-2-tomcat-mac-snow-leopard-permission-denied%2F&amp;source=thinkinglemur&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>I've finally started playing with Railo and tried installing it on my Mac with Snow Leopard installed. I wasn't able to get it to run initially but had to make two quick changes to get it running:</p>
<ol>
<li>Give the current user (the user under which you are currently logged in) Read + Write access to the entire<strong>*</strong> Railo folder, including all the sub folders.</li>
<li>Change the default port for Tomcat from port 80, to port 8080 since I already had Apache running on port 80. To change the port, edit /Railo/Tomcat/conf/server.xml and change the connector port.</li>
</ol>
<p>I have largely ignored Railo in the past but I am really eager to play around with it and get some stuff deployed on this platform.</p>
<p>* Note that I am using Railo in a development environment so I gave full Read + Write access to the <em><strong>entire</strong></em> Railo folder, in a production set up this would definitely not be a wise thing to do. I don't think this would be a problem in most development environments since the user under which Tomcat would be running would usually have the correct permissions.</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkinglemur.com/index.php/2011/04/railo-3-2-tomcat-mac-snow-leopard-permission-denied/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Is your site mobile friendly?</title>
		<link>http://thinkinglemur.com/index.php/2010/09/is-your-site-mobile-friendly/</link>
		<comments>http://thinkinglemur.com/index.php/2010/09/is-your-site-mobile-friendly/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 21:43:16 +0000</pubDate>
		<dc:creator>Donnie Bachan</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Mobile]]></category>
		<category><![CDATA[Thinking]]></category>
		<category><![CDATA[mobile phones]]></category>
		<category><![CDATA[user experience]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://thinkinglemur.com/?p=366</guid>
		<description><![CDATA[Picture this: You are sitting on the bus,  your commute is 45 minutes long so you whip out your iPhone and start browsing Twitter. Your friend posts a link to this awesome article on social marketing, you follow the link and then sit for the next 15 minutes frustrated with: waiting for the page and [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2010%2F09%2Fis-your-site-mobile-friendly%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2010%2F09%2Fis-your-site-mobile-friendly%2F&amp;source=thinkinglemur&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Picture this:</p>
<p>You are sitting on the bus,  your commute is 45 minutes long so you whip out your iPhone and start browsing Twitter. Your friend posts a link to this awesome article on social marketing, you follow the link and then sit for the next 15 minutes frustrated with:</p>
<ol>
<li>waiting for the page and all it's ads to load</li>
<li>not being able to read the content because you keep having to pan back and forth on the screen.</li>
</ol>
<p>This tends to happen to me a lot. There are VERY few sites out there that seem to understand that today there is a need for a mobile version of a website. Sure, you can get an app for your favourite site on your iPhone, Android, Symbian or Palm powered phones but these apps usually don't offer the website content or experience. The modern mobile OS and browser technology allows most websites to load and operate just as they would on a laptop or desktop but the experience is poor. With limited screen real estate, I want to execute my tasks quickly and effectively. I don't want to pinch or zoom on anything other than a map!</p>
<p>Two sites that have provided excellent mobile versions are:</p>
<ol>
<li><a href="http://www.amazon.com/gp/aw/h.html" target="_blank">Amazon</a> - who understands user behaviour better than the users themselves, provides a slick, easy to use interface which makes shopping a breeze</li>
<li><a href="http://mobile.wikipedia.org/" target="_blank">Wikipedia Mobile</a> - utilizing a minimalistic design, Wikipedia provides quick, relevant information on the go, no matter what your screen real estate!</li>
</ol>
<p>These are just a couple examples but there are countless businesses and website owners out there who choose to ignore the tremendous mobile market to be tapped. Wake up people, it's 2010!</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkinglemur.com/index.php/2010/09/is-your-site-mobile-friendly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open multiple windows in Excel 2007</title>
		<link>http://thinkinglemur.com/index.php/2010/09/open-multiple-windows-in-excel-2007/</link>
		<comments>http://thinkinglemur.com/index.php/2010/09/open-multiple-windows-in-excel-2007/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 09:53:17 +0000</pubDate>
		<dc:creator>Donnie Bachan</dc:creator>
				<category><![CDATA[Windows]]></category>
		<category><![CDATA[Excel]]></category>

		<guid isPermaLink="false">http://thinkinglemur.com/?p=392</guid>
		<description><![CDATA[Some of the design choices in Office 2007 really baffle me. Some simple tasks just cannot be completed without jumping through so many hoops. I can't understand why this isn't on every website in the entire world! But, I hope this helps some of you out: Go To: My Computer &#62; Tools &#62; Folder Options &#62; File Types [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2010%2F09%2Fopen-multiple-windows-in-excel-2007%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2010%2F09%2Fopen-multiple-windows-in-excel-2007%2F&amp;source=thinkinglemur&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Some of the design choices in Office 2007 really baffle me. Some simple tasks just cannot be completed without jumping through so many hoops. I can't understand why this isn't on every website in the entire world! But, I hope this helps some of you out:</p>
<ol>
<li>Go To: My Computer &gt; Tools &gt; Folder Options &gt; File Types</li>
<li>Choose XLS (Repeat for XLSX)</li>
<li>Click Advanced</li>
<li>Uncheck "browse in same window" in advanced window.</li>
<li>Then highlight Open</li>
<li>Click Edit</li>
<li>Make sure in the Action box it says &amp;Open</li>
<li>Make sure in the application used to perform action it says: "C:\Program Files\Microsoft Office\OFFICE11\EXCEL.EXE" "%1"</li>
<li>Check the box next to use DDE</li>
<li>Remove anything that is in DDE Message box</li>
<li>Remove anything that is in DDE Application Not Running box</li>
<li>Make sure the application box says: EXCEL</li>
<li>And in the Topic box it says: System</li>
</ol>
<p>The original tip can be found:</p>
<p><a href="http://techrepublic.com.com/5208-6230-0.html?forumID=8&amp;threadID=195249&amp;messageID=2254006&amp;tag=content;leftCol">http://techrepublic.com.com/5208-6230-0.html?forumID=8&amp;threadID=195249&amp;messageID=2254006&amp;tag=content;leftCol</a></p>
<p>This allows you to have multiple independent Excel windows open. Very handy if you have multiple monitors.</p>
<p>This has been tested on Windows XP and Excel 2007.</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkinglemur.com/index.php/2010/09/open-multiple-windows-in-excel-2007/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>IE 7/8 PNG-24 transparency issue</title>
		<link>http://thinkinglemur.com/index.php/2010/06/ie-78-png-24-transparency-issue/</link>
		<comments>http://thinkinglemur.com/index.php/2010/06/ie-78-png-24-transparency-issue/#comments</comments>
		<pubDate>Wed, 09 Jun 2010 11:12:47 +0000</pubDate>
		<dc:creator>Donnie Bachan</dc:creator>
				<category><![CDATA[Browsers]]></category>
		<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[Design]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[CSS]]></category>
		<category><![CDATA[Development]]></category>
		<category><![CDATA[jQuery]]></category>

		<guid isPermaLink="false">http://thinkinglemur.com/?p=384</guid>
		<description><![CDATA[We came across an error today with our drop down menu system that uses a PNG-24 semi transparent drop shadow image around the border where the transparency would appear black in IE 7 and IE 8. After searching and trying all possible fixes we found the solution to the problem and it was quite simple. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2010%2F06%2Fie-78-png-24-transparency-issue%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2010%2F06%2Fie-78-png-24-transparency-issue%2F&amp;source=thinkinglemur&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>We came across an error today with our drop down menu system that uses a PNG-24 semi transparent drop shadow image around the border where the transparency would appear black in IE 7 and IE 8. After searching and trying all possible fixes we found the solution to the problem and it was quite simple.</p>
<p>Our menu system uses jQuery (doesn't everything these days?), and had a nice fade in and fade out transition. jQuery handles the fade transitions by setting the opacity which IE does not like very much. So using the fadeTo() functions in jQuery is a no-no in IE. The solution, use hide() and show() instead. It's not as elegant but the transparency issue was fixed on all modern browsers.</p>
<p>Other solutions to the problem include:</p>
<p>1. Using a background colour instead of transparent on the style so you would do:</p>
<blockquote><p>.my-transparent-stuff{background: #fff url('image.png') repeat-y scroll left top;}</p>
<p>instead of</p>
<p>.my-transparent-stuff{background: transparent url('image.png') repeat-y scroll left top;}</p></blockquote>
<p>2. Using PNG-8/transparent gifs (hey, it's a solution)</p>
<p>3. Forcing IE8 into IE7 mode by adding the following meta tag:</p>
<blockquote><p>&lt;meta http-equiv="X-UA-Compatible" content="IE=7" /&gt;</p></blockquote>
<p>I still can't understand what Microsoft is doing!</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkinglemur.com/index.php/2010/06/ie-78-png-24-transparency-issue/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Memory leaks with Coldfusion 8</title>
		<link>http://thinkinglemur.com/index.php/2010/02/memory-leaks-with-coldfusion-8/</link>
		<comments>http://thinkinglemur.com/index.php/2010/02/memory-leaks-with-coldfusion-8/#comments</comments>
		<pubDate>Tue, 23 Feb 2010 14:58:44 +0000</pubDate>
		<dc:creator>Donnie Bachan</dc:creator>
				<category><![CDATA[ColdFusion]]></category>
		<category><![CDATA[General]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Web 2.0]]></category>
		<category><![CDATA[ColdFusion 8]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[jvm]]></category>
		<category><![CDATA[memory leaks]]></category>

		<guid isPermaLink="false">http://thinkinglemur.com/?p=368</guid>
		<description><![CDATA[For the past few weeks I've been incognito due to some memory leak issues we've been having with our new app. It is essentially a rewrite of our existing web application using Object Oriented techniques and embraces the Model-View-Controller paradigm. It really is a pretty little thing but unfortunately she crumbled under the weight of [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2010%2F02%2Fmemory-leaks-with-coldfusion-8%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2010%2F02%2Fmemory-leaks-with-coldfusion-8%2F&amp;source=thinkinglemur&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>For the past few weeks I've been incognito due to some memory leak issues we've been having with our new app. It is essentially a rewrite of our existing web application using Object Oriented techniques and embraces the Model-View-Controller paradigm. It really is a pretty little thing but unfortunately she crumbled under the weight of the world wide web. Anyone who has faced the memory leak problem will know that it is not an easy one to crack and it takes time to determine the exact issue. There are a lot of articles around that have excellent information which were all very helpful in my quest for a solution.</p>
<p>The system made a lot of use of the session and application scope for caching objects which was the first issue that we had to overcome. It seemed like a good idea, you've got loads of memory, you have a finite amount of objects that can be called for each session why not persist them. The problem is that ColdFusion 8 seems to have an issue with complex objects (i.e. CFCs) stored in the session and application scopes. The reason I say this is that we were seeing a very, very strange thing happening to the memory on our server. When load testing was run, the server was fine, the memory steadily increased until the initial sessions began expiring and then the average of memory usage plateaued, which is what you like to see. However, once the load test ended the memory steadily increased until it crashed the CF instance. Weird right? And so the search for a solution began. I came across a few helpful articles:</p>
<p><a href="http://www.ghidinelli.com/2009/07/16/finding-memory-leaks-coldfusion-jvm">http://www.ghidinelli.com/2009/07/16/finding-memory-leaks-coldfusion-jvm</a></p>
<p><a href="http://www.schierberl.com/cfblog/index.cfm/2006/10/12/ColdFusion_memoryLeak_profiler">http://www.schierberl.com/cfblog/index.cfm/2006/10/12/ColdFusion_memoryLeak_profiler</a></p>
<p><a href="http://www.alagad.com/blog/post.cfm/troubleshooting-coldfusion-performance-analysis-part-ii">http://www.alagad.com/blog/post.cfm/troubleshooting-coldfusion-performance-analysis-part-ii</a></p>
<p>These were tremendously helpful in assisting me in finding the solution. The last post from Alagad was the one that helped cure my issue in the end. You need to ensure that when making copies of persistent scoped variables that they are deep copied or used in a local scope within CFC functions. However, bear in mind that there are many causes for memory leaks and you should spend the time in figuring out the exact cause of your problem. I found the <a href="http://www.eclipse.org/mat/" target="_blank">MAT</a> tool supremely useful.</p>
<p>Here are some tips for curing memory issues:</p>
<ol>
<li>Install cumulative hotfix 4 for ColdFusion 8.0.1 (Get it <a href="http://kb2.adobe.com/cps/529/cpsid_52915.html" target="_blank">here</a>)</li>
<li>Update the JVM to the latest provided by Sun, in my case it was JDK 1.6.0_18 (Get it <a href="http://java.sun.com/javase/downloads/index.jsp" target="_self">here</a>)</li>
<li>Add the -XX:+<em>AggressiveHeap</em> option to the JVM configuration (Read about it <a href="http://www.petefreitag.com/item/139.cfm" target="_blank">here</a>)</li>
<li>Set your min and max heap to the same size to reduce the number of garbage collection calls</li>
<li>Run varscoper against your code and ensure all local variables are var scoped (Get it <a href="http://varscoper.riaforge.org/" target="_blank">here</a>)</li>
<li>Limit the use of variables scope within objects, use the THIS reference instead</li>
<li>Limit the number of complex objects (cfcs) being stored in SESSION and APPLICATION scopes</li>
<li>Clear the variables scope onRequestEnd (this doesn't really work when using Application.cfc though)</li>
<li>Run load tests! We used WCAT for Windows (Get it <a href="http://www.iis.net/downloads/default.aspx?tabid=34&amp;i=1466&amp;g=6" target="_blank">here</a>)</li>
<li>Turn off CF monitoring use FusionReactor (or something similar) (Get FusionReactor <a href="http://www.fusion-reactor.com/" target="_blank">here</a>)</li>
</ol>
<p>Hopefully these will help someone else going forward.</p>
<p>UPDATE 16/05/2010: Point #6 should be, ensure you scope your variables correctly. The THIS scope has its own set of limitations. Ensure that all variables (including loop indices) have the proper scope to avoid leakage.</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkinglemur.com/index.php/2010/02/memory-leaks-with-coldfusion-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple Tablet? So what&#8217;s the end game Steve?</title>
		<link>http://thinkinglemur.com/index.php/2010/01/apple-tablet-end-game/</link>
		<comments>http://thinkinglemur.com/index.php/2010/01/apple-tablet-end-game/#comments</comments>
		<pubDate>Wed, 20 Jan 2010 22:02:56 +0000</pubDate>
		<dc:creator>Donnie Bachan</dc:creator>
				<category><![CDATA[Apple]]></category>
		<category><![CDATA[Business]]></category>
		<category><![CDATA[Thinking]]></category>
		<category><![CDATA[tablet]]></category>

		<guid isPermaLink="false">http://thinkinglemur.com/?p=363</guid>
		<description><![CDATA[So, there are more than just a few rumors about the possible Apple Tablet and why wouldn't there be a lot of buzz around the company that has a knack of delivering products that changes paradigms? I personally don't think there will be one. Now, to be clear, I would very much like there to [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2010%2F01%2Fapple-tablet-end-game%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2010%2F01%2Fapple-tablet-end-game%2F&amp;source=thinkinglemur&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>So, <a href="http://bit.ly/8unaI5" target="_blank">there are more than just a few rumors</a> about the possible Apple Tablet and why wouldn't there be a lot of buzz around the company that has a knack of delivering products that changes paradigms? I personally don't think there will be one. Now, to be clear, I would very much like there to be one but one question keeps coming up for me. Where will the Apple Tablet fit into the company's product line? A lot of buzz today seems to think that <a href="http://bit.ly/4Y5Fro" target="_blank">Amazon's changing of the Kindle royalty fees</a> to publishers is some indication of the iminent arrival of the iSlate. I can't seem to connect the dots. How will Apple benefit from developing a tablet that would directly compete with the Kindle? Reading books on the iPhone or iPod touch are just as enjoyable. There is definitely a gap in the market for a tablet device, techies have been after it for years and let's face it, who would be better to develop one than Apple? However, what is the market segment that this fit into?</p>
<p>Schools - Apple's devices have never been cheap, hence I don't see it replacing paper notebooks in the short term.</p>
<p>Business - Executives could walk around with their slick tablets and look ace in the boardroom but other than that, who in the organisation would benefit from a tablet? Assistants? Would the market be big enough? I may be being very short sighted here but are there any others who would benefit?</p>
<p>General Consumers - Why would home users choose a tablet over a laptop or a desktop? I wouldn't, would you? Why? How will a tablet provide a better user experience?</p>
<p>The iPod and iPhone were part of the master plan for creating the AppStore and iTunes which are the real cash cows for Apple. Apple is happy on the desktop and laptop fronts because if they wanted to compete head to head with Microsoft or Dell they could be churning out low cost machines with the same awesome OS X. Although, they have cornered the design, music production, video production and now developer communities with their hardware. Where will the tablet fit and how will it benefit Apple?</p>
<p>Forget the hardware, what is Apple planning in the long run? This is the question that everyone should be asking. I guess on January 27th 2010 we'll all find out.</p>
]]></content:encoded>
			<wfw:commentRss>http://thinkinglemur.com/index.php/2010/01/apple-tablet-end-game/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Communication tip</title>
		<link>http://thinkinglemur.com/index.php/2010/01/communication-tip/</link>
		<comments>http://thinkinglemur.com/index.php/2010/01/communication-tip/#comments</comments>
		<pubDate>Thu, 14 Jan 2010 10:03:16 +0000</pubDate>
		<dc:creator>Donnie Bachan</dc:creator>
				<category><![CDATA[Thinking]]></category>
		<category><![CDATA[Communication]]></category>

		<guid isPermaLink="false">http://thinkinglemur.com/?p=347</guid>
		<description><![CDATA[Communication is essential in life, so my tip for today when sending a message is to think of it as a text message (but using proper grammar!). You only have a limited amount of characters to use, so use them wisely and reduce the fluff. This can be applied to both verbal and written messages. [...]]]></description>
			<content:encoded><![CDATA[<div class="tweetmeme_button" style="float: right; margin-left: 10px;">
			<a href="http://api.tweetmeme.com/share?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2010%2F01%2Fcommunication-tip%2F"><br />
				<img src="http://api.tweetmeme.com/imagebutton.gif?url=http%3A%2F%2Fthinkinglemur.com%2Findex.php%2F2010%2F01%2Fcommunication-tip%2F&amp;source=thinkinglemur&amp;style=normal&amp;service=bit.ly&amp;b=2" height="61" width="50" /><br />
			</a>
		</div>
<p>Communication is essential in life, so my tip for today when sending a message is to think of it as a text message (but using proper grammar!). You only have a limited amount of characters to use, so use them wisely and reduce the fluff. This can be applied to both verbal and written messages.</p>
<p>This is the end of this post. <img src='http://thinkinglemur.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://thinkinglemur.com/index.php/2010/01/communication-tip/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

