필터 지우기
필터 지우기

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

조회 수: 6 (최근 30일)
Alexander Meier
Alexander Meier 2020년 11월 6일
댓글: Alexander Meier 2020년 11월 10일
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

답변 (1개)

Raunak Gupta
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.
Also this discussion can be useful.
  댓글 수: 1
Alexander Meier
Alexander Meier 2020년 11월 10일
hi,
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...
thanks
alex

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

카테고리

Help CenterFile Exchange에서 Logical에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by