Closed thewon86 closed 1 year ago
unless you're using retr_as_buffer
which stores the buffer in memory, it really depends on your reader. So for example, if you use retr
and inside of the closure you use std::io::copy
it's not going to consume much memory, since it's continuously reading from the stream and directly copying the content into the destination writer.
Got it, thanks a lot!
Hi, How meny memory it takes when retr a large file(more than 4GiB)?