can I increase maximum possible array used memory?

10 次查看(过去 30 天)
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?

采纳的回答

OCDER
OCDER 2018-9-21
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 个)

类别

Help CenterFile Exchange 中查找有关 Performance and Memory 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by