memory not freed in matlab?

Posted by noam on Stack Overflow See other posts from Stack Overflow or by noam
Published on 2010-03-22T23:55:44Z Indexed on 2010/03/23 0:11 UTC
Read the original article Hit count: 656

Filed under:
|

I am running a script that animates a plot (simulation of a water flow). After a while, I kill the loop by doing ctrl-c. After doing this several times I get the error:

??? Error: Out of memory.

And after I start receiving that error, every call to my script will generate it.
Now, it happens before anything inside the function that I am calling is executed, i.e even if I add the line a=1 as the first line of the function I am calling, I still get the error and no printout, so the code inside the function doesn't even get executed. What could be causing this?

© Stack Overflow or respective owner

Related posts about matlab

Related posts about memory