When sending file to remote peer, the sender app instance consumes too much memory. In fact, the sender pushes the whole file to RAM. Here is the related code.
Please note that file buffering at the receiver app instance doesn't allocate much more RAM than the capacity of the mpsc channel.
When sending file to remote peer, the sender app instance consumes too much memory. In fact, the sender pushes the whole file to RAM. Here is the related code.
Please note that file buffering at the receiver app instance doesn't allocate much more RAM than the capacity of the mpsc channel.