Save a too large matrix

12 ビュー (過去 30 日間)
Jorge  Peñaloza Giraldo
Jorge Peñaloza Giraldo 2015 年 7 月 13 日
回答済み: the cyclist 2015 年 7 月 13 日
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

回答 (1 件)

the cyclist
the cyclist 2015 年 7 月 13 日
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.

カテゴリ

Help Center および File ExchangeResizing and Reshaping Matrices についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by