Closed KaKi87 closed 3 years ago
Try to disable pre-allocate disk space in the Settings -> Storage.
I'll try, but will this be fixed?
In this case, this is not a bug, because you are trying to allocate space in advance, and if there is not enough disk space, then you will fail.
Try starting a 0.75 GB file download : it works.
At this point, space allocation succeeded.
At 0.5 GB downloaded, pause it.
At this point, space allocation is preserved.
But, try resuming download : it fails.
At this point, space allocation should have been preserved.
Probably the problem is with this place. It checks the free space, but since the file size is already allocated, there is no free space, it just doesn't know that the space is already reserved. I need to think about how to implement it differently.
Nice, thanks!
Hello,
Let's say you have 1 GB of free space.
Try starting a 0.75 GB file download : it works.
At 0.5 GB downloaded, pause it.
You have now 0.5 GB of space left, which is more than the remaining 0.25 GB to download.
But, try resuming download : it fails.
My guess is : the app is expecting 1 GB of free space like if it was starting from the beginning.
Thanks