- file was built on a system with more memory and involves very heavy compression (for example an array that is nearly all zero would compress well)
- file is corrupt
- file was built incrementally, using -append to write one variable at a time, but you are trying to load back the entire file
- variables were built incrementally using matfile() and a -v7.3 file, which can sometimes permit you to create a variable in a file that is larger than your available memory
- certain cases involving symbolic expressions can end up expanding representation
- If you accidentally saved a figure handle as part of data, then loading the figure could take a lot of memory
Error using load Out of memory. Type HELP MEMORY for your options.
조회 수: 11 (최근 30일)
이전 댓글 표시
I cannot load a variable (info.mat) file with size 973 MB. It shows
Error using load
Out of memory. Type HELP MEMORY for your options.
Can Anyone suggest what to do?
Help is greaty appriciated.
댓글 수: 1
Walter Roberson
2019년 4월 10일
It is possible to get into that situation in some cases:
채택된 답변
David Wilson
2019년 4월 10일
Did you do as suggested and actually check your memory?
>> memory
Maximum possible array: 2745 MB (2.878e+09 bytes) *
Memory available for all arrays: 2745 MB (2.878e+09 bytes) *
Memory used by MATLAB: 2578 MB (2.703e+09 bytes)
Physical Memory (RAM): 8097 MB (8.490e+09 bytes)
* Limited by System Memory (physical + swap file) available.
댓글 수: 2
tiankai hang
2020년 2월 18일
Sorry, my .mat file is 634MB, and my memory is listed below, but I still got the same arror. Do you know how to deal with the problem? Best wishes~
可能的最大数组: 20467 MB (2.146e+10 bytes) *
可用于所有数组的内存: 20467 MB (2.146e+10 bytes) *
MATLAB 使用的内存: 2915 MB (3.056e+09 bytes)
物理内存(RAM): 16317 MB (1.711e+10 bytes)
Sachindra Dhanapala Arachchige
2020년 8월 19일
I also got the same error 'Out of memory. Type HELP MEMORY for your options.'. I closed all the other opened applications. It increaed the RAM availabe to Matlab. Then I ran the matlab code again. This time it ran smoothly. The dataset that i tried to load was about 605Mb.
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!