필터 지우기
필터 지우기

Maximum variable size allowed by the function is exceeded.

조회 수: 24 (최근 30일)
JJJJJ
JJJJJ 2023년 11월 30일
댓글: Image Analyst 2023년 12월 1일
load('EEG.mat')
Error using load
Maximum variable size allowed by the function is exceeded.
I want to load my mat file, but it always report the error above. What should I do?
I tried matfile, it reported the same error.
  댓글 수: 6
Walter Roberson
Walter Roberson 2023년 12월 1일
I just created a 4 gigabyte variable, saved it in a -v7.3 fie, reduced my maximum array size preference and tried loading it. I got,
Error using load
Requested 1x4000000000 (3.7GB) array exceeds maximum array size preference (1.3GB). This might cause MATLAB to become unresponsive.
Related documentation
An error about "maximum variable size permitted by the function" rather than by "array size preference" or by "out of memory" usually means that somehow MATLAB thinks the data being loaded is larger than the maximum array size it can handle at all -- which is 2^48 bytes (256 terabytes) for 64 bit versions, or 2 gigabytes for 32 bit versions.
Image Analyst
Image Analyst 2023년 12월 1일
@JJJJJ what does this say if you type it in the command window?
>> memory

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Whos에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by