Path: news.mathworks.com!not-for-mail
From: "Joao " <joao_amaral@mail.pt>
Newsgroups: comp.soft-sys.matlab
Subject: Re: clear all does not clear all memory?
Date: Fri, 5 Dec 2008 11:54:02 +0000 (UTC)
Organization: The MathWorks, Inc.
Lines: 16
Message-ID: <ghb4op$cd3$1@fred.mathworks.com>
References: <gh91ci$m52$1@fred.mathworks.com> <34813a0b-28df-4e25-8a2f-a790fde16603@35g2000pry.googlegroups.com>
Reply-To: "Joao " <joao_amaral@mail.pt>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1228478042 12707 172.30.248.37 (5 Dec 2008 11:54:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 5 Dec 2008 11:54:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1629141
Xref: news.mathworks.com comp.soft-sys.matlab:505152


Praetorian <ashish.sadanandan@gmail.com> wrote in message <34813a0b-28df-4e25-8a2f-a790fde16603@35g2000pry.googlegroups.com>...
> 
> I don't know whether this will fix your problem but you could try
> running the PACK command after CLEAR ALL.
> 
> HTH,
> Ashish.

Hi, thanks for the reply.

The pack command did not directly solve the problem, but helped me reach documentation that addresses this.

No real solution, as this seems to be related to Win32 platform memory management. I actually solved this by using the matlab compiler and running the exe file. No more memory problems.

Cheers,
Joao