<?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>MAT &#8211; Wiebe Elsinga</title>
	<atom:link href="http://wiebe-elsinga.com/blog/tag/mat/feed/" rel="self" type="application/rss+xml" />
	<link>http://wiebe-elsinga.com/blog</link>
	<description>Blog</description>
	<lastBuildDate>Tue, 01 Nov 2011 08:30:49 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.8</generator>
	<item>
		<title>Android Best Practices: MAT</title>
		<link>http://wiebe-elsinga.com/blog/android-best-practices-mat/</link>
					<comments>http://wiebe-elsinga.com/blog/android-best-practices-mat/#respond</comments>
		
		<dc:creator><![CDATA[W.Elsinga]]></dc:creator>
		<pubDate>Mon, 31 Oct 2011 23:14:11 +0000</pubDate>
				<category><![CDATA[Business]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[best practices]]></category>
		<category><![CDATA[MAT]]></category>
		<guid isPermaLink="false">http://wiebe-elsinga.com/blog/?p=880</guid>

					<description><![CDATA[When you want to improve an Android application performance, you need to do profiling. Welcome MAT! What is MAT? It&#8217;s a Java heap analyzer tool introduced by Eclipse that helps you find memory leaks. How-To First you need to extract a hprof file from the Android device. When running the device select the Dump HPROF file option as shown here Convert the .hprof file from the Dalvik format to the J2SE HPROF format. You can do this using the hprof-conv tool provided in the Android SDK. hprof-conv dump.hprof converted-dump.hprof Import the converted hprof file into MAT, and start anaylzing]]></description>
										<content:encoded><![CDATA[<p>When you want to improve an Android application performance, you need to do profiling. Welcome MAT!</p>
<h3>What is MAT?</h3>
<p>It&#8217;s a Java heap analyzer tool introduced by Eclipse that helps you find memory leaks.</p>
<h3>How-To</h3>
<p>First you need to extract a hprof file from the Android device. When running the device select the <em>Dump HPROF file</em> option as shown here</p>
<p><img loading="lazy" class="aligncenter size-full wp-image-886" title="get dump" src="http://wiebe-elsinga.com/blog/wp-content/uploads/2011/10/get-dump.png" alt="" width="258" height="26" /></p>
<p>Convert the <em>.hprof</em> file from the Dalvik format to the J2SE HPROF format. You can do this using the hprof-conv tool provided in the Android SDK.</p>
<div class="codecolorer-container bash default" style="overflow:auto;white-space:nowrap;border:1px solid #9F9F9F;width:435px;"><div class="bash codecolorer" style="padding:5px;font:normal 12px/1.4em Monaco, Lucida Console, monospace;white-space:nowrap;">hprof-conv dump.hprof converted-dump.hprof</div></div>
<p>Import the converted <em>hprof</em> file into MAT, and start anaylzing</p>
<p><a href="http://wiebe-elsinga.com/blog/wp-content/uploads/2011/10/example-MAT.png" rel="lightbox[880]" title="example MAT"><img loading="lazy" class="aligncenter size-medium wp-image-890" title="example MAT" src="http://wiebe-elsinga.com/blog/wp-content/uploads/2011/10/example-MAT-300x236.png" alt="" width="300" height="236" srcset="http://wiebe-elsinga.com/blog/wp-content/uploads/2011/10/example-MAT-300x237.png 300w, http://wiebe-elsinga.com/blog/wp-content/uploads/2011/10/example-MAT-800x632.png 800w, http://wiebe-elsinga.com/blog/wp-content/uploads/2011/10/example-MAT.png 847w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
]]></content:encoded>
					
					<wfw:commentRss>http://wiebe-elsinga.com/blog/android-best-practices-mat/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
