Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Cell Array of Function Handles Leaks Memory
Date: Sun, 1 Jun 2008 16:38:01 +0000 (UTC)
Organization: Universit&#228;tsSpital Z&#252;rich
Lines: 20
Message-ID: <g1uj99$4tr$1@fred.mathworks.com>
References: <g1t973$aeg$1@fred.mathworks.com> <g1tkd6$qi9$1@fred.mathworks.com> <g1udna$sgp$1@fred.mathworks.com> <g1ueot$67i$1@fred.mathworks.com> <g1ugqh$ip1$1@fred.mathworks.com> <g1uhsa$pi4$1@fred.mathworks.com> <g1ui7i$rmf$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1212338281 5051 172.30.248.38 (1 Jun 2008 16:38:01 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Sun, 1 Jun 2008 16:38:01 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 11
Xref: news.mathworks.com comp.soft-sys.matlab:471647



"NIcholas ":
<SNIP mem leak...

> I am running Matlab version 7.0.0.19920 (R14) under 
Windows XP. 
> Do you get a memory leak using the code I posted above
> under 2007b...

no, not here; system:
ic2.2*2.3mhz/2g/winxp.sp2/2007b(7.5.0.342)

this might(!) indicate that the memory, which is visibly 
attached to the function handle in 2007b is hidden in the 
older version...
therefore, this might(!) help

     clear cellArrayFunHandleLeaks;

just a thought
us