Save a too large matrix
Mostrar comentarios más antiguos
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
Respuestas (1)
the cyclist
el 13 de Jul. de 2015
0 votos
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.
Categorías
Más información sobre Resizing and Reshaping Matrices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!