Clear Filters
Clear Filters

Error of array size

1 view (last 30 days)
Syakira Akmal
Syakira Akmal on 4 Apr 2017
Answered: KSSV on 4 Apr 2017
this error come out when run my project. "Requested 5992704x5992704 (33446.1GB) array exceeds maximum array size preference. Creation of arrays greater than this limit may take a long time and cause MATLAB to become unresponsive. See array size limit or preference panel for more information." Even i have change my looping. Size of my image is 2448x2448x3 uint8 and set my [X,Y] = meshgrid(1:2448,1:2448); can tell me what should i do?

Accepted Answer

KSSV
KSSV on 4 Apr 2017
See the error clearly says..to create the required dimensions data it needs 33446.1GB. Does your computer RAM supports that much space? You must know, why there is a necessity to create such huge data?
Read about memory, it shows the maximum possible array for your pc.

More Answers (0)

Categories

Find more on Multidimensional 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!