HELP "OUT OF MEMORY"
Show older comments
i execute a program in matlab... and it runs fine.... when i execute it for the second time it says
"OUT OF MEMORY"
i typed
"clear all"
and executed it still it says "out of memory"... but if i close matlab and execute it refreshly it will execute... what should i do to rectify this error
2 Comments
Oliver Woodford
on 28 Apr 2014
Please provide more details about the program. Is it written in pure MATLAB or does it call external code such as a C library or a mex file?
Elysi Cochin
on 28 Apr 2014
Edited: Elysi Cochin
on 28 Apr 2014
Accepted Answer
More Answers (1)
It's a known problem unfortunately. See, for example,
Try not to allocate so much memory. Newer versions of MATLAB might also handle the problem better.
2 Comments
Elysi Cochin
on 21 May 2014
Matt J
on 21 May 2014
What messages does "clear classes" return?
Categories
Find more on Cell Arrays in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!