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?
>>ver
-----------------------------------------------------------------------------------------------------
MATLAB Version: 9.3.0.713579 (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
mexw64
so it is 64bit, and i cannot use all my memory?
how can i fix that?
thanks
alex
댓글 수: 0
답변(1개)
Raunak Gupta
2020년 11월 10일
Hi,
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.
참고 항목
범주
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!