Save a too large matrix
조회 수: 12 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
답변 (1개)
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.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Resizing and Reshaping Matrices에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!