out of memory - matlab does not use available memory of system

조회 수: 4(최근 30일)
hi all,
i get out of memory errors when running a complex image processing task in matlab.
checking the memory command:
>> memory
Maximum possible array: 3434 MB (3.600e+09 bytes) *
Memory available for all arrays: 3434 MB (3.600e+09 bytes) *
Memory used by MATLAB: 1129 MB (1.184e+09 bytes)
Physical Memory (RAM): 16158 MB (1.694e+10 bytes)
...so i have 16gb installed on my system --> correct
but matlab is only allowed to use 3.4gb? how can i change that?
first thought: did i only install a 32bit version of matlab?
MATLAB Version: (R2017b)
MATLAB License Number: removed ;-)
Operating System: Microsoft Windows 10 Enterprise Version 10.0 (Build 17763)
Java Version: Java 1.8.0_121-b13 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode
MATLAB Version 9.3 (R2017b)
and the mexext command:
>> mexext
so it is 64bit, and i cannot use all my memory?
how can i fix that?


Raunak Gupta
Raunak Gupta 2020년 11월 10일
This can be possible if you have set a limit on MATLAB array size limit with less than 100%. You can see the following documentation to update that setting and this should clear out the query.
Also this discussion can be useful.
  댓글 수: 1
Alexander Meier
Alexander Meier 2020년 11월 10일
thanks for the reply - i think there was a problem with windows running out of disk space, which caused many problems. since i cleaned up the disk and restarted the system it runs as it did before...

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


Find more on Platform and License in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by