Currently there is a risk that the download will fail if the file size is not a multiple of mmap.ALLOCATIONGRANULARITY.
This is because each worker creates a memory map of the destination file, and the last chunk has no special treatment when not a multiple of 4KB.
Currently there is a risk that the download will fail if the file size is not a multiple of
mmap.ALLOCATIONGRANULARITY.This is because each worker creates a memory map of the destination file, and the last chunk has no special treatment when not a multiple of 4KB.