Info

This question is closed. Reopen it to edit or answer.

I did type help memory but i do not understand what is given there. when i run the same program for another set of images i got output. why am i getting this error for surrent set of images?

1 view (last 30 days)
someone help me to understand what the error means.

Answers (2)

Walter Roberson
Walter Roberson on 8 Dec 2013
Edited: Walter Roberson on 8 Dec 2013
It means that your images are too large to process with the code you are using, on the hardware you are using. There might be ways to rewrite the code to use less memory, but a more general solution is to add RAM to your system and use an operating system that supports 64 bits and use a 64 bit version of MATLAB.
(Technical note: if I recall correctly, the Linux version of the Student Version license is restricted to 32 bits, but the OS-X and MS Windows versions of the Student Version support 64 bits. The commercial and Academic versions support 64 bits on all supported platforms.)

Image Analyst
Image Analyst on 8 Dec 2013
We don't know what your code is doing but if further down along your code you are not using some temporary/scratch images that you created farther up your code, use clear(), to free up the memory they are still using. Even then though, it's still possible to run out of memory, for example maybe the current set of images has more, or larger, images.

This question is closed.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!