<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170268</link>
    <title>MATLAB Central Newsreader - Cell Array of Function Handles Leaks Memory</title>
    <description>Feed for thread: Cell Array of Function Handles Leaks Memory</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sun, 01 Jun 2008 04:40:04 -0400</pubDate>
      <title>Cell Array of Function Handles Leaks Memory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170268#435252</link>
      <author>NIcholas </author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
I am running Matlab version 7.0.0.19920 (R14) under Windows&lt;br&gt;
XP and it seems to be leaking memory when I create a cell&lt;br&gt;
array of function handles within an m-file.&lt;br&gt;
&lt;br&gt;
In particular, writing the function:&lt;br&gt;
&lt;br&gt;
function A = cellArrayFunHandleLeaks&lt;br&gt;
A = cell(1,1);&lt;br&gt;
B = ones(1000,1000);&lt;br&gt;
A{1} = @(x) x+B;&lt;br&gt;
&lt;br&gt;
and calling from the command line:&lt;br&gt;
A = cellArrayFunHandleLeaks; clear A;&lt;br&gt;
&lt;br&gt;
leaks about 7.5MB of memory (I am using the MATLAB&lt;br&gt;
monitoring tool available at&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=7127&amp;objectType=file&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=7127&amp;objectType=file&lt;/a&gt;&lt;br&gt;
to measure memory usage, but an increase in memory allocated&lt;br&gt;
to MATLAB is clearly visible from Windows Task Manager).&lt;br&gt;
&lt;br&gt;
However, if I run the commands in the function from the&lt;br&gt;
command prompt and then do clear A B; I am able to recover&lt;br&gt;
all of the memory.  Similarly, if I do A = []; at the end of&lt;br&gt;
the above function, there is no memory leak.&lt;br&gt;
&lt;br&gt;
I observe no memory leak with a cell array of matrices or&lt;br&gt;
just a single function handle not in a cell array, when used&lt;br&gt;
as above.&lt;br&gt;
&lt;br&gt;
Has anybody else had this problem or know of a solution or&lt;br&gt;
of a better way to store a set of function handles?&lt;br&gt;
&lt;br&gt;
Thanks in advance,&lt;br&gt;
Nick</description>
    </item>
    <item>
      <pubDate>Sun, 01 Jun 2008 07:51:02 -0400</pubDate>
      <title>Re: Cell Array of Function Handles Leaks Memory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170268#435262</link>
      <author>Bruno Luong</author>
      <description>&quot;NIcholas &quot; &amp;lt;remove.this_nmg33@cornell.edu&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g1t973$aeg$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&lt;br&gt;
&amp;gt; A = cellArrayFunHandleLeaks; clear A;&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
Can you use &quot;clear all&quot;? I'm not sure what Matlab doing for&lt;br&gt;
keeping last current commant prompt, debugging information,&lt;br&gt;
&quot;precompiled&quot; code, path, etc ... Beware about interpreting&lt;br&gt;
&quot;MATLAB memory&quot;.&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Has anybody else had this problem or know of a solution or&lt;br&gt;
&amp;gt; of a better way to store a set of function handles?&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
Alternatively, you can put it in a structure array.&lt;br&gt;
&lt;br&gt;
Bruno</description>
    </item>
    <item>
      <pubDate>Sun, 01 Jun 2008 15:03:06 -0400</pubDate>
      <title>Re: Cell Array of Function Handles Leaks Memory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170268#435291</link>
      <author>NIcholas </author>
      <description>&quot;Bruno Luong&quot; &amp;lt;b.luong@fogale.fr&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g1tkd6$qi9$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;NIcholas &quot; &amp;lt;remove.this_nmg33@cornell.edu&amp;gt; wrote in message&lt;br&gt;
&amp;gt; &amp;lt;g1t973$aeg$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; A = cellArrayFunHandleLeaks; clear A;&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Can you use &quot;clear all&quot;? I'm not sure what Matlab doing for&lt;br&gt;
&amp;gt; keeping last current commant prompt, debugging information,&lt;br&gt;
&amp;gt; &quot;precompiled&quot; code, path, etc ... Beware about interpreting&lt;br&gt;
&amp;gt; &quot;MATLAB memory&quot;.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Has anybody else had this problem or know of a solution or&lt;br&gt;
&amp;gt; &amp;gt; of a better way to store a set of function handles?&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Alternatively, you can put it in a structure array.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Bruno&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Hi Bruno thanks for your suggestions.&lt;br&gt;
&lt;br&gt;
I run into similar problems using a structure array to store&lt;br&gt;
variables:&lt;br&gt;
&lt;br&gt;
function A = cellArrayFunHandleLeaks&lt;br&gt;
B = ones(1000,1000);&lt;br&gt;
A.f = @(x) x+1;&lt;br&gt;
%A{1} = @(x) x+1;&lt;br&gt;
%A = @(x) x+1;&lt;br&gt;
&lt;br&gt;
A = cellArrayFunHandleLeaks; clear all;&lt;br&gt;
gives a similar problem, and so does running the first&lt;br&gt;
commented line instead.  The last commented line runs fine&lt;br&gt;
though.&lt;br&gt;
&lt;br&gt;
Also, I am not even using B in the anonymous function.  Does&lt;br&gt;
MATLAB store copies of all variables in the local scope when&lt;br&gt;
creating an anonymous function?&lt;br&gt;
&lt;br&gt;
The following code without the clear B line has a similar&lt;br&gt;
problem, but with clear B (even after anonymous function&lt;br&gt;
declaration) it works fine.&lt;br&gt;
&lt;br&gt;
function A = cellArrayFunHandleLeaks&lt;br&gt;
B = ones(1000,1000);&lt;br&gt;
A{1} = @(x) x+1;&lt;br&gt;
clear B;</description>
    </item>
    <item>
      <pubDate>Sun, 01 Jun 2008 15:21:01 -0400</pubDate>
      <title>Re: Cell Array of Function Handles Leaks Memory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170268#435293</link>
      <author>us</author>
      <description>&quot;NIcholas &quot;:&lt;br&gt;
&amp;lt;SNIP down to partial answer...&lt;br&gt;
&lt;br&gt;
&amp;gt; Does MATLAB store copies of all variables in the local &lt;br&gt;
scope when creating an anonymous function...&lt;br&gt;
&lt;br&gt;
yes, as can be seen here&lt;br&gt;
&lt;br&gt;
% create a dummy function&lt;br&gt;
function r=foo&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;b=ones(100);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;r.f=@(x) x=1;&lt;br&gt;
end&lt;br&gt;
&lt;br&gt;
% at the command prompt&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;f=foo;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;whos f&lt;br&gt;
% f 1x1 140 struct &amp;lt;- apparently small&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ff=functions(f.f);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;whos ff&lt;br&gt;
% ff 1x1 81090 struct &amp;lt;- reveal the truth&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ff&lt;br&gt;
%{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;function: '@(x)x+1'&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;type: 'anonymous'&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;file: 'YOURPATH\foo.m'&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;workspace: {2x1 cell}&lt;br&gt;
%}&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ff.workspace{2}&lt;br&gt;
%{&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;r: [1x1 struct]&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;b: [100x100 double] % in foo's ws at time of creation&lt;br&gt;
%}&lt;br&gt;
&lt;br&gt;
us</description>
    </item>
    <item>
      <pubDate>Sun, 01 Jun 2008 15:56:01 -0400</pubDate>
      <title>Re: Cell Array of Function Handles Leaks Memory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170268#435295</link>
      <author>NIcholas </author>
      <description>&quot;us &quot; &amp;lt;us@neurol.unizh.ch&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g1ueot$67i$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; % create a dummy function&lt;br&gt;
&amp;gt; function r=foo&lt;br&gt;
&amp;gt;      b=ones(100);&lt;br&gt;
&amp;gt;      r.f=@(x) x=1;&lt;br&gt;
&amp;gt; end&lt;br&gt;
&lt;br&gt;
I assumed this should be x+1, since x=1 gives illegal&lt;br&gt;
assignment error.&lt;br&gt;
&lt;br&gt;
&amp;gt; % at the command prompt&lt;br&gt;
&amp;gt;      f=foo;&lt;br&gt;
&amp;gt;      whos f&lt;br&gt;
&amp;gt; % f 1x1 140 struct &amp;lt;- apparently small&lt;br&gt;
&lt;br&gt;
&amp;gt;      ff=functions(f.f);&lt;br&gt;
&amp;gt;      whos ff&lt;br&gt;
&amp;gt; % ff 1x1 81090 struct &amp;lt;- reveal the truth&lt;br&gt;
&amp;gt;      ff&lt;br&gt;
&amp;gt; %{&lt;br&gt;
&amp;gt;      function: '@(x)x+1'&lt;br&gt;
&amp;gt;      type: 'anonymous'&lt;br&gt;
&amp;gt;      file: 'YOURPATH\foo.m'&lt;br&gt;
&amp;gt;      workspace: {2x1 cell}&lt;br&gt;
&amp;gt; %}&lt;br&gt;
&lt;br&gt;
I get the same result for whos f, but I get different&lt;br&gt;
results for ff:&lt;br&gt;
whos ff&lt;br&gt;
% ff  1x1 572  struct array&lt;br&gt;
&lt;br&gt;
ff&lt;br&gt;
%{&lt;br&gt;
function: '@(x) x+1'&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;type: 'anonymous'&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;file: 'C:\MATLAB7\work\foo.m'&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;workspace: [1x1 struct]&lt;br&gt;
&lt;br&gt;
%}&lt;br&gt;
&lt;br&gt;
ff.workspace&lt;br&gt;
%{&lt;br&gt;
1x1 struct array with no fields.&lt;br&gt;
%}&lt;br&gt;
&lt;br&gt;
However, changing the function to: r.f=@(x) x+b;&lt;br&gt;
I get something similar:&lt;br&gt;
whos ff&lt;br&gt;
% ff 1x1 80696  struct array&lt;br&gt;
ff.workspace&lt;br&gt;
% b: [100x100 double]</description>
    </item>
    <item>
      <pubDate>Sun, 01 Jun 2008 16:14:02 -0400</pubDate>
      <title>Re: Cell Array of Function Handles Leaks Memory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170268#435299</link>
      <author>us</author>
      <description>&quot;NIcholas &quot;:&lt;br&gt;
&amp;lt;SNIP gets different results...&lt;br&gt;
&lt;br&gt;
&amp;gt; &amp;gt;      r.f=@(x) x=1;&lt;br&gt;
&amp;gt; I assumed this should be x+1, since x=1 gives illegal&lt;br&gt;
&amp;gt; assignment error...&lt;br&gt;
&lt;br&gt;
CORRECT! sorry for the typo...&lt;br&gt;
&lt;br&gt;
&amp;gt; I get the same result for whos f, but I get different&lt;br&gt;
&amp;gt; results for ff&lt;br&gt;
&amp;gt; ff&lt;br&gt;
&amp;gt; function: '@(x) x+1'&lt;br&gt;
&amp;gt;          type: 'anonymous'&lt;br&gt;
&amp;gt;          file: 'C:\MATLAB7\work\foo.m'&lt;br&gt;
&amp;gt;          workspace: [1x1 struct]&lt;br&gt;
&amp;gt; &lt;br&gt;
&lt;br&gt;
what ML version do you have?&lt;br&gt;
we run 2007b...&lt;br&gt;
&lt;br&gt;
us</description>
    </item>
    <item>
      <pubDate>Sun, 01 Jun 2008 16:20:02 -0400</pubDate>
      <title>Re: Cell Array of Function Handles Leaks Memory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170268#435300</link>
      <author>NIcholas </author>
      <description>&quot;us &quot; &amp;lt;us@neurol.unizh.ch&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g1uhsa$pi4$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;NIcholas &quot;:&lt;br&gt;
&amp;gt; &amp;lt;SNIP gets different results...&lt;br&gt;
&lt;br&gt;
&amp;gt; what ML version do you have?&lt;br&gt;
&amp;gt; we run 2007b...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; us&lt;br&gt;
&lt;br&gt;
I am running Matlab version 7.0.0.19920 (R14) under Windows&lt;br&gt;
XP.  Do you get a memory leak using the code I posted above&lt;br&gt;
under 2007b?</description>
    </item>
    <item>
      <pubDate>Sun, 01 Jun 2008 16:38:01 -0400</pubDate>
      <title>Re: Cell Array of Function Handles Leaks Memory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170268#435301</link>
      <author>us</author>
      <description>&quot;NIcholas &quot;:&lt;br&gt;
&amp;lt;SNIP mem leak...&lt;br&gt;
&lt;br&gt;
&amp;gt; I am running Matlab version 7.0.0.19920 (R14) under &lt;br&gt;
Windows XP. &lt;br&gt;
&amp;gt; Do you get a memory leak using the code I posted above&lt;br&gt;
&amp;gt; under 2007b...&lt;br&gt;
&lt;br&gt;
no, not here; system:&lt;br&gt;
ic2.2*2.3mhz/2g/winxp.sp2/2007b(7.5.0.342)&lt;br&gt;
&lt;br&gt;
this might(!) indicate that the memory, which is visibly &lt;br&gt;
attached to the function handle in 2007b is hidden in the &lt;br&gt;
older version...&lt;br&gt;
therefore, this might(!) help&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;clear cellArrayFunHandleLeaks;&lt;br&gt;
&lt;br&gt;
just a thought&lt;br&gt;
us</description>
    </item>
    <item>
      <pubDate>Sun, 01 Jun 2008 17:42:01 -0400</pubDate>
      <title>Re: Cell Array of Function Handles Leaks Memory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170268#435305</link>
      <author>NIcholas </author>
      <description>&quot;us &quot; &amp;lt;us@neurol.unizh.ch&amp;gt; wrote in message&lt;br&gt;
&amp;lt;g1uj99$4tr$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;NIcholas &quot;:&lt;br&gt;
&amp;gt; &amp;lt;SNIP mem leak...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; I am running Matlab version 7.0.0.19920 (R14) under &lt;br&gt;
&amp;gt; Windows XP. &lt;br&gt;
&amp;gt; &amp;gt; Do you get a memory leak using the code I posted above&lt;br&gt;
&amp;gt; &amp;gt; under 2007b...&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; no, not here; system:&lt;br&gt;
&amp;gt; ic2.2*2.3mhz/2g/winxp.sp2/2007b(7.5.0.342)&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; this might(!) indicate that the memory, which is visibly &lt;br&gt;
&amp;gt; attached to the function handle in 2007b is hidden in the &lt;br&gt;
&amp;gt; older version...&lt;br&gt;
&amp;gt; therefore, this might(!) help&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt;      clear cellArrayFunHandleLeaks;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; just a thought&lt;br&gt;
&amp;gt; us&lt;br&gt;
&lt;br&gt;
I still have problems after using the clear&lt;br&gt;
cellArrayFunHandleLeaks;&lt;br&gt;
&lt;br&gt;
I have come up with a solution that would be acceptable if&lt;br&gt;
there is no way to resolve this issue in older version of&lt;br&gt;
MATLAB.&lt;br&gt;
&lt;br&gt;
I am storing a structure array with a field for data&lt;br&gt;
required by the function, and a field for the function,&lt;br&gt;
written as a simple function in an m-file rather than an&lt;br&gt;
anonymous function.  The function would be called by passing&lt;br&gt;
in the desired argument followed by the data stored in data&lt;br&gt;
field.&lt;br&gt;
&lt;br&gt;
For the above example the fix would be:&lt;br&gt;
&lt;br&gt;
function z=add(x,y)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;z=x+y;&lt;br&gt;
end&lt;br&gt;
&lt;br&gt;
function A = cellArrayFunHandleLeaks(method)&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;B=ones(1000,1000);&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;if method==1&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;A.f = @(x) x+B;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;else&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;A.f = @add;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;A.data = {B};&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end&lt;br&gt;
end&lt;br&gt;
&lt;br&gt;
% leaks memory&lt;br&gt;
A = cellArrayFunHandleLeaks(1);&lt;br&gt;
argIn = 1;&lt;br&gt;
result = A.f(1);&lt;br&gt;
clear all; &lt;br&gt;
&lt;br&gt;
% does not leak memory&lt;br&gt;
A = cellArrayFunHandleLeaks(0);&lt;br&gt;
argIn = 1;&lt;br&gt;
result = A.f(1, A.data{:});&lt;br&gt;
clear all;&lt;br&gt;
&lt;br&gt;
The downside of this solution is that another m-file is&lt;br&gt;
needed for each unique function and code for calling the&lt;br&gt;
function is slightly longer.</description>
    </item>
    <item>
      <pubDate>Sun, 01 Jun 2008 20:28:02 -0400</pubDate>
      <title>Re: Cell Array of Function Handles Leaks Memory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170268#435321</link>
      <author>Bruno Luong</author>
      <description>&lt;br&gt;
&amp;gt; The downside of this solution is that another m-file is&lt;br&gt;
&amp;gt; needed for each unique function ...&lt;br&gt;
&lt;br&gt;
You might nest &quot;add&quot; into &quot;cellArrayFunHandleLeaks&quot;. Though&lt;br&gt;
it's not very nice because of the leakage.&lt;br&gt;
&lt;br&gt;
No leakage problem for my 2008a.&lt;br&gt;
&lt;br&gt;
Good luck,&lt;br&gt;
&lt;br&gt;
Bruno </description>
    </item>
    <item>
      <pubDate>Fri, 13 Jun 2008 16:49:24 -0400</pubDate>
      <title>Re: Cell Array of Function Handles Leaks Memory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/170268#437336</link>
      <author>Mike Karr</author>
      <description>Bruno Luong wrote:&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;gt; (snip)&lt;br&gt;
&amp;gt; No leakage problem for my 2008a.&lt;br&gt;
&amp;nbsp;&amp;gt; (snip)&lt;br&gt;
&lt;br&gt;
If I follow this thread topic correctly, there are no known leakage&lt;br&gt;
problems in 2008a.  There were indeed leakage problems in some earlier&lt;br&gt;
versions that we fixed.  As you might imagine, there is really no way&lt;br&gt;
that we can go back and fix those earlier problems.&lt;br&gt;
&lt;br&gt;
If you do find leaks, of any kind, in a current version of MATLAB, &lt;br&gt;
either now or in the future, please report them to the MathWorks.&lt;br&gt;
&lt;br&gt;
thanks,&lt;br&gt;
mike</description>
    </item>
  </channel>
</rss>

