can I increase maximum possible array used memory?

10 visualizzazioni (ultimi 30 giorni)
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?

Risposta accettata

OCDER
OCDER il 21 Set 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:

Più risposte (0)

Categorie

Scopri di più su Performance and Memory in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by