Requested array exceeds maximum array size preference
이전 댓글 표시
I get the following error while trying to call odenumjac.
Requested 35036x35036 (9.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.
Error in odenumjac (line 126)
ydel = y(:,ones(1,ny)) + diag(del);
Error in simulation (line 31)
J = odenumjac(@fun,{0 X0}, f0, joptions);
I changed the `Maximum array size` to 10000 in Preference > workspace.

I still face the same error. The size of my physical memory is 8 GB and I can see that the requested array size is ~9 GB.
I would like to know how this problem can be solved.
댓글 수: 5
Walter Roberson
2021년 2월 23일
Turn off the limit, and let your system use swap space, which may be very very slow.
Deepa Maheshvare
2021년 2월 23일
편집: Deepa Maheshvare
2021년 2월 23일
Walter Roberson
2021년 2월 23일
https://www.x-plane.com/kb/increasing-virtual-memory-on-windows/
Deepa Maheshvare
2021년 2월 23일
편집: Deepa Maheshvare
2021년 2월 23일
답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 Programming에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!