Page 1 of 2

How does FDM calculate free hard disk space

Posted: Fri Feb 26, 2021 8:01 pm
by tallcoolone
FDM tells me I have no free space even though I have over 100gbs. Using the latest version. I have quite a large list of downloads scheduled but I feel like I should be able to add additional scheduled downloads if I want to, but can't. Thanks.

Re: How does FDM calculate free hard disk space

Posted: Sat Feb 27, 2021 12:58 am
by hajj_3
I have had this problem for years. Often it says i have no space when it is below 1GB, recently it said i had no space when i had over 3GB free. The bug persists, it will never be fixed i fear.

Re: How does FDM calculate free hard disk space

Posted: Sat Feb 27, 2021 1:01 am
by johnlgalt
I may be wrong about this, but is your list of scheduled DLs anywhere close to 100 GBs on disk? If so, it may be that FDM is considering all those scheduled DLs against your current free space and thus not allowing anymore?

I went looking in the settings and did not see a disk space setting anywhere - but my guess would be that it is calculated as with anything else.

Perhaps you could try exporting your scheduled list, then removing it, then seeing if you can add DLs. Just make sure that you can export your list correctly before removing it, of course.

Re: How does FDM calculate free hard disk space

Posted: Sun Feb 28, 2021 6:20 pm
by tallcoolone
I think you're right John, what I'd like to see is an option to not have FDM "reserve" hard disk space for it's scheduled downloads I guess. I know when my hard drive is getting full lol.

Re: How does FDM calculate free hard disk space

Posted: Sun Feb 28, 2021 11:04 pm
by johnlgalt
I had to go look - I honestly thought that feature was already there.

That may take some work on figuring out the best way to approach it - some people will want it enabled, some (like you and me) don't, and some may want some sort of hybrid....

Best case scenario is we get a toggle allowing it to either be on or off....

Re: How does FDM calculate free hard disk space

Posted: Wed Mar 03, 2021 12:44 am
by StormJumper
This would help if one knows what version it is so others can see what their settings show. But if you use default it shouldn't allocate space unless you changed it.

Re: How does FDM calculate free hard disk space

Posted: Thu Mar 04, 2021 3:09 pm
by tallcoolone
I'm using Version 6.13.4.3616 which is the latest at this time .

Re: How does FDM calculate free hard disk space

Posted: Thu Mar 04, 2021 5:01 pm
by johnlgalt
Thanks, TCO. I'm working on something else, but I which is eating up a significant amount of disk space on my of my SSDs, and I think I can round up several hundred GB worth of DLs to schedule to see if I can replicate it, and to see if there is some sort of either work around, or threshold that can be made use of to prevent the low disk space warnings.

Re: How does FDM calculate free hard disk space

Posted: Thu Mar 04, 2021 6:03 pm
by Usher
It seems that this miscalculation is a regression. I thought that it was removed some time in the past.
I have just tested it for torrent downloads. I couldn't move 2GB file to a disk with 20 GB free space because that space was reserved for other torrent downloads. But we use multitasking OS and we can free space in any moment during download, if it's needed.

Re: How does FDM calculate free hard disk space

Posted: Thu Mar 04, 2021 9:52 pm
by johnlgalt
Ahh, yeah, in FDM 3, did we have an explicit option to pre-allocate drive space for downloads?

Then later on I wanna say the option was removed, but set on and several people did not like it so as Usher says it was removed. But now has been added back (or, as said better by Usher, regressed).

I have entirely too much space lol. I'm considering just making a tiny partition in my free space to test, but Usher already tested. I'll try mine though, since I made the partition already.

Re: How does FDM calculate free hard disk space

Posted: Fri Mar 05, 2021 12:16 am
by Usher
johnlgalt wrote:Ahh, yeah, in FDM 3, did we have an explicit option to pre-allocate drive space for downloads?
That was another thing, about creating files in file system - should FDM create full length empty file in the very beginning and fill its inner space or write only as much data as it's needed?
Now it's about theoretical calculations - if FDM is as fast as Chuck Norris, how much free space is needed now. Note that it's obvious misunderstanding - Chuck Norris can backup all the Internet to a microSD-HC card.

Re: How does FDM calculate free hard disk space

Posted: Fri Mar 05, 2021 6:47 pm
by johnlgalt
So the FDM 3 setting only applied for creating files in the file system when downloading. But my thinking was that a scheduled DL is still, in FDM's thinking, a download, right? So perhaps not so different.

At any rate, having DLs scheduled even if not actually downloading seems to make FDM calculate them as actually taking up the space in the fs before it needs to - and that is something that should probably be addressed.

re: Chuck Norris - you forgot to say "twice". He could backup the entire Internet on that microSD-HC card *twice*. :P

Re: How does FDM calculate free hard disk space

Posted: Fri Mar 05, 2021 8:36 pm
by Alex
Hello,
When calculating "free" disk space, FDM takes not yet downloaded downloads into account.

Re: How does FDM calculate free hard disk space

Posted: Fri Mar 05, 2021 8:38 pm
by hajj_3
Free Download Manager 5.1.30.6471 x64 was the last version without this problem. I reported this years ago but it has never been fixed.

Re: How does FDM calculate free hard disk space

Posted: Sat Mar 06, 2021 12:12 am
by Usher
johnlgalt wrote:So the FDM 3 setting only applied for creating files in the file system when downloading. But my thinking was that a scheduled DL is still, in FDM's thinking, a download, right? So perhaps not so different.
It is completely different. FDM 3.x doesn't check free space before starting download at all. It may warn you when creating files on disk.
For example, if you start downloading 4 GB and you have only 3 GB free space, you will be warned only when FDM 3.x reaches the end of that free space - when creating 4 GB empty file (using advanced option "Reserve free spaceā€¦"), when creating the fourth section of download in 4 sections or when finishing 3 GB of download in a single piece.