<?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>exploration &#187; memory</title>
	<atom:link href="http://robertcarlsen.net/tag/memory/feed" rel="self" type="application/rss+xml" />
	<link>http://robertcarlsen.net</link>
	<description>accounts of success and misadventure</description>
	<lastBuildDate>Sat, 14 Aug 2010 21:49:47 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>&#8230;little help (oh, malloc)?</title>
		<link>http://robertcarlsen.net/2009/07/06/little-help-oh-malloc-869</link>
		<comments>http://robertcarlsen.net/2009/07/06/little-help-oh-malloc-869#comments</comments>
		<pubDate>Mon, 06 Jul 2009 21:43:23 +0000</pubDate>
		<dc:creator>Robert</dc:creator>
				<category><![CDATA[iphone]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[dev]]></category>
		<category><![CDATA[malloc]]></category>
		<category><![CDATA[memory]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://robertcarlsen.net/?p=869</guid>
		<description><![CDATA[i&#8217;m having a time of it tracking down a resource allocation bloat culprit in an iPhone app i&#8217;m working on. i&#8217;ve narrowed it down to when i&#8217;m rapidly updating the center property of a UIImageView. a snippet from the Instruments application is below:


there are hundreds (if not thousands) of these messages, and the object allocation [...]]]></description>
			<content:encoded><![CDATA[<p>i&#8217;m having a time of it tracking down a resource allocation bloat culprit in an iPhone app i&#8217;m working on. i&#8217;ve narrowed it down to when i&#8217;m rapidly updating the center property of a UIImageView. a snippet from the Instruments application is below:</p>
<p><a href="http://robertcarlsen.net/blog/wp-content/uploads/2009/07/malloc.png" rel="lightbox[869]"><img class="size-full wp-image-871 alignleft" title="malloc" src="http://robertcarlsen.net/blog/wp-content/uploads/2009/07/malloc.png" alt="malloc" width="482" height="79" /></a><br />
<br style="clear:both;" /><br />
there are hundreds (if not thousands) of these messages, and the object allocation graph trends steadily upwards. when i disable the portion of the method which updates the center property the allocations stop and the memory usage goes flat. this also only occurs on the device&#8230;the simulator does not exhibit this behavior.</p>
<p>i&#8217;m using UIImageView directly, without subclassing, and it contains data from a small PNG file. i&#8217;ve patched up several other leaks successfully today, and really wanted to nail this one too.</p>
]]></content:encoded>
			<wfw:commentRss>http://robertcarlsen.net/2009/07/06/little-help-oh-malloc-869/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
