Need help on Matlab memory error
이전 댓글 표시
Below is the error I got while using divagrid on Matlab. Anyone has a solution? How do I expand the available space? My computer has 16 GB of memory and it seems to be only using 1/3 of them at most.
Many thanks!
Total number of data constraint: ndata = 13743153
** ERROR - ALLODY - STORAGE OF kelos
REQUIRED SPACE27544606
AVAILABLE SPACE : 20000000
Index in position 2 exceeds array bounds.
댓글 수: 3
madhan ravi
2018년 9월 2일
can you post the whole code and the data it requires?
Rik
2018년 9월 2일
Matlab needs contiguous blocks of free memory to store variables, so if your free memory is very fragmented you won't be able to make large variables. If you search for them on this forum, you should be able to find tips on how to maximize your array sizes.
Leon
2018년 9월 3일
채택된 답변
추가 답변 (0개)
카테고리
도움말 센터 및 File Exchange에서 MATLAB Support for MinGW-w64 C/C++ Compiler에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!