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

4 vues (au cours des 30 derniers jours)
Alexander Meier
Alexander Meier le 6 Nov 2020
Commenté : Alexander Meier le 10 Nov 2020
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

Réponses (1)

Raunak Gupta
Raunak Gupta le 10 Nov 2020
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 commentaire
Alexander Meier
Alexander Meier le 10 Nov 2020
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

Connectez-vous pour commenter.

Catégories

En savoir plus sur Logical dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by