| ▲ | randyrand 2 hours ago | |||||||
I just wish Rust handled out of memory more gracefully like a normal error. | ||||||||
| ▲ | bluGill 2 hours ago | parent [-] | |||||||
Why bother? Most systems these days have over commit and so you can never get an out of memory error. The OS will happily give you more and more RAM, and then when you try to use that memory kill a program (may or not be your program). The only out of memory error you can see is if you are trying to allocate more memory than the address space allows. This is so unlikely that nobody considers it worth bother to try to handle. | ||||||||
| ||||||||