Save a too large matrix

2 views (last 30 days)
Jorge  Peñaloza Giraldo
Jorge Peñaloza Giraldo on 13 Jul 2015
Answered: the cyclist on 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

Answers (1)

the cyclist
the cyclist on 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.

Categories

Find more on Multidimensional Arrays 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!