|
On Dec 4, 9:44=A0am, "Joao " <joao_ama...@mail.pt> wrote:
> Hi all,
>
> I've been running some simple, but quite lengthy calculations in Matlab (=
R14).
>
> In order to save RAM, for each cycle, variables are cleared by a "clear a=
ll" command.
>
> But this does not solve everything, since I can tell by the Windows task =
manager that memory is still taken by Matlab (wich can exceed 1.5 GB) even =
after my program has crashed or ended, and even if I cleared all variables =
with a "clear all". Memory is only freed if I shut down matlab and restart =
it.
>
> Is there any command that really clears all the cache?
>
> Thank you!
I don't know whether this will fix your problem but you could try
running the PACK command after CLEAR ALL.
HTH,
Ashish.
|