Save a too large matrix

13 Ansichten (letzte 30 Tage)
Jorge  Peñaloza Giraldo
Jorge Peñaloza Giraldo am 13 Jul. 2015
Beantwortet: the cyclist am 13 Jul. 2015
Hello
I want to save a too large matrix (4000000x4000000)
Maximum possible array: 16664 MB (1.747e+10 bytes) *
Memory available for all arrays: 16664 MB (1.747e+10 bytes) *
Memory used by MATLAB: 1077 MB (1.129e+09 bytes)
Physical Memory (RAM): 8097 MB (8.490e+09 bytes)
  • Limited by System Memory (physical + swap file) available.
I have increased the virtual memory to 12000 MB
Please, i want to avoid the loops in order to get faster to the solution (optimization)
Thank you for your help

Antworten (1)

the cyclist
the cyclist am 13 Jul. 2015
A double-precision numeric array of size 4,000,000 x 4,000,000 would require over 122 MILLION megabytes of storage. (Over 116 terabytes.) That's not feasible.
You will need to find some other way.

Kategorien

Mehr zu Resizing and Reshaping Matrices finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by