can I increase maximum possible array used memory?

6 views (last 30 days)
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?

Accepted Answer

OCDER
OCDER on 21 Sep 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:

More Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!