Error of array size

3 vues (au cours des 30 derniers jours)
Syakira Akmal
Syakira Akmal le 4 Avr 2017
Réponse apportée : KSSV le 4 Avr 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?

Réponse acceptée

KSSV
KSSV le 4 Avr 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.

Plus de réponses (0)

Catégories

En savoir plus sur Multidimensional Arrays dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by