can I increase maximum possible array used memory?

9 visualizaciones (últimos 30 días)
Andy
Andy el 21 de Sept. de 2018
Respondida: OCDER el 21 de Sept. de 2018
I get:
>> memory
Maximum possible array: 6209 MB (6.510e+09 bytes) *
Memory available for all arrays: 6209 MB (6.510e+09 bytes) *
Memory used by MATLAB: 1543 MB (1.618e+09 bytes)
Physical Memory (RAM): 16280 MB (1.707e+10 bytes)
* Limited by System Memory (physical + swap file) available.
>>
Can I increase the memory for an array/table to a value closer to my RAM size?

Respuestas (1)

OCDER
OCDER el 21 de Sept. de 2018
Do you have a lot of background processes? One way to increase your array size is to increase your OS's swap space.
For windows, here's the guide.
But note that swap space is significantly slower than using physical RAM. If you find yourself running into Memory Error, you could try to rework your matlab codes to delete temporary arrays, or design your code to read data from hard drive only when needed, such as via datastore. Here are some useful web pages:

Categorías

Más información sobre Performance and Memory en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by