The Rust Programming Language Forum
What is MAX array size?
alice
February 19, 2024, 3:31pm
4
That would take 18 million terabytes of RAM. You don't have that much memory.
28 Likes
TWiR quote of the week
show post in topic
Related topics
Topic
Replies
Views
Activity
What is the maximum length of a vector?
help
11
8322
August 22, 2020
Max value slice
4
1374
September 8, 2021
Rustonomicon: Understanding "subtle corner cases where someone reinterprets some array of `< isize::MAX` objects as bytes" causing indices overflow
help
4
214
September 29, 2024
Maximum array size for different targets
6
118
November 22, 2024
What's the best way to initialize large array?
help
9
12091
January 12, 2023