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

6 次查看(过去 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

回答(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