can I increase maximum possible array used memory?
5 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
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?
0 comentarios
Respuesta aceptada
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:
0 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Statistics and Machine Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!