<?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: Undocumented profiler options	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/undocumented-profiler-options/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=undocumented-profiler-options</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Thu, 03 Sep 2015 14:38:29 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-356388</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 03 Sep 2015 14:38:29 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=143#comment-356388</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-356270&quot;&gt;jabbar&lt;/a&gt;.

@Jabbar - I believe that these are an approximate description of the various reported values:

  * Peak memory is the maximal amount of allocated memory during the execution of the profiled line/function.
  * Allocated memory is the total amount of memory allocated during the execution. Note that it is a cumulative amount, meaning that if you have an allocation of 1KB in a loop that runs 50 times, you&#039;ll see a 50KB value.
  * Freed memory is the total amount of memory de-allocated during the execution. This too is a cumulative amount.
  * Self memory is the memory used by the profiled line/function, which is not deallocated (and therefore not included in the &quot;Freed memory&quot; value).

Note that these are speculations: The exact definition of what is reported under which category is internal to Matlab and is currently unknown.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-356270">jabbar</a>.</p>
<p>@Jabbar &#8211; I believe that these are an approximate description of the various reported values:</p>
<p>  * Peak memory is the maximal amount of allocated memory during the execution of the profiled line/function.<br />
  * Allocated memory is the total amount of memory allocated during the execution. Note that it is a cumulative amount, meaning that if you have an allocation of 1KB in a loop that runs 50 times, you&#8217;ll see a 50KB value.<br />
  * Freed memory is the total amount of memory de-allocated during the execution. This too is a cumulative amount.<br />
  * Self memory is the memory used by the profiled line/function, which is not deallocated (and therefore not included in the &#8220;Freed memory&#8221; value).</p>
<p>Note that these are speculations: The exact definition of what is reported under which category is internal to Matlab and is currently unknown.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: jabbar		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-356270</link>

		<dc:creator><![CDATA[jabbar]]></dc:creator>
		<pubDate>Tue, 01 Sep 2015 12:49:06 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=143#comment-356270</guid>

					<description><![CDATA[Hi dear Yair
i want to know differences between peak memory, self memory, allocated memory and freed memory while we are using Memory monitoring using profiler. 
i google it but it seems no one knows about the issue!
thanks in advance.]]></description>
			<content:encoded><![CDATA[<p>Hi dear Yair<br />
i want to know differences between peak memory, self memory, allocated memory and freed memory while we are using Memory monitoring using profiler.<br />
i google it but it seems no one knows about the issue!<br />
thanks in advance.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: 2D and 3D Perlin Noise in MATLAB &#124; semifluid.com		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-347053</link>

		<dc:creator><![CDATA[2D and 3D Perlin Noise in MATLAB &#124; semifluid.com]]></dc:creator>
		<pubDate>Mon, 23 Mar 2015 10:12:52 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=143#comment-347053</guid>

					<description><![CDATA[[...] However interp3 is VERY memory intensive. Here are example MATLAB profiler outputs illustrating the peak memory used by MATLAB (note that I used the undocumented MATLAB profiler memory option &#8220;profile -memory on;&#8221;, described here): [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] However interp3 is VERY memory intensive. Here are example MATLAB profiler outputs illustrating the peak memory used by MATLAB (note that I used the undocumented MATLAB profiler memory option &#8220;profile -memory on;&#8221;, described here): [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andrew		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-161324</link>

		<dc:creator><![CDATA[Andrew]]></dc:creator>
		<pubDate>Fri, 22 Feb 2013 15:21:51 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=143#comment-161324</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-160814&quot;&gt;Yair Altman&lt;/a&gt;.

Hi Yair,
That&#039;s what I figured, but I thought I would ask for clarification anyway. Thanks so much for your quick response and wealth of knowledge! It seems a bit strange. I can run the same set of functions with the same inputs, but the profiler comes back with different results. And I&#039;ll need to determine if it&#039;s my code or Matlab itself causing the memory growth... Well, I will certainly let you know what I can come up with.
Thanks again!
~Andrew]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-160814">Yair Altman</a>.</p>
<p>Hi Yair,<br />
That&#8217;s what I figured, but I thought I would ask for clarification anyway. Thanks so much for your quick response and wealth of knowledge! It seems a bit strange. I can run the same set of functions with the same inputs, but the profiler comes back with different results. And I&#8217;ll need to determine if it&#8217;s my code or Matlab itself causing the memory growth&#8230; Well, I will certainly let you know what I can come up with.<br />
Thanks again!<br />
~Andrew</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-160814</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Thu, 21 Feb 2013 20:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=143#comment-160814</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-160775&quot;&gt;Andrew&lt;/a&gt;.

@Andrew - it should be relatively easy to see where allocated&#062;freed: when there are no leaks, these two should have exactly the same value.

You could also use non-Matlab tools (e.g., &lt;a href=&quot;http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;Process Explorer&lt;/a&gt; for memory leaks or &lt;a href=&quot;http://www.nirsoft.net/utils/gdi_handles.html&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;GDIView&lt;/a&gt; for GDI handle leaks -- both of them for Windows).

Note in advance that hunting down memory leaks in Matlab is very difficult, due to the lack of good monitoring tools (AFAIK). 

If you or anyone else find any leaks, please report them here or directly to me. I know for a fact that MathWorks&#039; dev team are very interested in such inputs -- whatever will be reported to me I will pass on to them for fixing.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-160775">Andrew</a>.</p>
<p>@Andrew &#8211; it should be relatively easy to see where allocated&gt;freed: when there are no leaks, these two should have exactly the same value.</p>
<p>You could also use non-Matlab tools (e.g., <a href="http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx" target="_blank" rel="nofollow">Process Explorer</a> for memory leaks or <a href="http://www.nirsoft.net/utils/gdi_handles.html" target="_blank" rel="nofollow">GDIView</a> for GDI handle leaks &#8212; both of them for Windows).</p>
<p>Note in advance that hunting down memory leaks in Matlab is very difficult, due to the lack of good monitoring tools (AFAIK). </p>
<p>If you or anyone else find any leaks, please report them here or directly to me. I know for a fact that MathWorks&#8217; dev team are very interested in such inputs &#8212; whatever will be reported to me I will pass on to them for fixing.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andrew		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-160775</link>

		<dc:creator><![CDATA[Andrew]]></dc:creator>
		<pubDate>Thu, 21 Feb 2013 17:52:35 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=143#comment-160775</guid>

					<description><![CDATA[Hi Yair,
Can you explain a little more how you used the profiler to detect leaks?  I&#039;m working on a continuously running software (always open, but runs a set of functions/methods every minute or so) that seems to creep up in memory over time. I ran the profiler while executing my code and am trying to understand what I&#039;m looking at. I see allocated, freed, self, and peak memory, but don&#039;t know how that translates to memory growth over time. Any help would be appreciated!]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,<br />
Can you explain a little more how you used the profiler to detect leaks?  I&#8217;m working on a continuously running software (always open, but runs a set of functions/methods every minute or so) that seems to creep up in memory over time. I ran the profiler while executing my code and am trying to understand what I&#8217;m looking at. I see allocated, freed, self, and peak memory, but don&#8217;t know how that translates to memory growth over time. Any help would be appreciated!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: &#187; 2D and 3D Perlin Noise in MATLAB semifluid.com		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-129919</link>

		<dc:creator><![CDATA[&#187; 2D and 3D Perlin Noise in MATLAB semifluid.com]]></dc:creator>
		<pubDate>Wed, 05 Dec 2012 13:45:09 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=143#comment-129919</guid>

					<description><![CDATA[[...] However interp3 is VERY memory intensive. Here are example MATLAB profiler outputs illustrating the peak memory used by MATLAB (note that I used the undocumented MATLAB profiler memory option &#8220;profile -memory on;&#8221;, described here): [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] However interp3 is VERY memory intensive. Here are example MATLAB profiler outputs illustrating the peak memory used by MATLAB (note that I used the undocumented MATLAB profiler memory option &#8220;profile -memory on;&#8221;, described here): [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Undocumented Profiler options part 4 &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-112756</link>

		<dc:creator><![CDATA[Undocumented Profiler options part 4 &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 03 Oct 2012 18:02:45 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=143#comment-112756</guid>

					<description><![CDATA[[...] Past articles explained how to profile memory, improve timing resolution and fix a font issue, and display the call history. [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Past articles explained how to profile memory, improve timing resolution and fix a font issue, and display the call history. [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Undocumented Profiler options part 3 &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-111556</link>

		<dc:creator><![CDATA[Undocumented Profiler options part 3 &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 26 Sep 2012 18:01:10 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=143#comment-111556</guid>

					<description><![CDATA[[...] Past articles explained how to profile memory, improve timing resolution and fix a font issue [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Past articles explained how to profile memory, improve timing resolution and fix a font issue [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Undocumented Profiler options part 2 &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/undocumented-profiler-options#comment-110296</link>

		<dc:creator><![CDATA[Undocumented Profiler options part 2 &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 19 Sep 2012 18:03:13 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=143#comment-110296</guid>

					<description><![CDATA[[...] Three years ago I published an article on undocumented profiler options. Since then, I have posted several articles about performance [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] Three years ago I published an article on undocumented profiler options. Since then, I have posted several articles about performance [&#8230;]</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
