필터 지우기
필터 지우기

array exceeds maximum array size preference

조회 수: 22 (최근 30일)
amani
amani 2024년 6월 3일
댓글: amani 2024년 6월 7일
i had this error :
Requested 65536x65536 (32.0GB) 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.
AT LIGNE n°3:
  1. s_old = s;
  2. s = [s(N*M-L+1:N*M);s];
  3. EYE_MAT = eye(length(s_old));
  4. PI_mat = [EYE_MAT(:, 2:end) EYE_MAT(:, 1)];
can some one help me pllllz !
  댓글 수: 7
Torsten
Torsten 2024년 6월 7일
If you have a PC with 16 GB RAM and the eye array alone needs 32 GB, shouldn't this tell you that you have to reduce the problem size or buy a new PC ?
amani
amani 2024년 6월 7일
thank you @Torsten i am sur now that the problem about my PC. yes it has 16GB RAM. thank you

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

채택된 답변

Mann Baidi
Mann Baidi 2024년 6월 7일
Hi @amani,
I observer that you are trying to create a 65536x65536 matrix in your script. You are getting the error due the maximum array size limitations in MATLAB. You can try removing the limitations for the maximum array size by unchecking the maximum array size limit checkbox from the preference panel following this path.
MATLAB >Preferences > Workspace > MATLAB array size limit.
  댓글 수: 4
amani
amani 2024년 6월 7일
편집: amani 2024년 6월 7일
now i have a new erreur at other ligne ! it seen that the first problem it is done .... yet this now it is about the memory too ... how you can see it @Mann Baidi ?

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

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by