Today I downloaded several files. The app AFAIK reserves space for whole file from the start. For 1st and 2nd files I saw available RAM decreased right after download started, but for 3rd there was not enough space (per message), I deleted some and download started. But to my surprise
free continued to show large available space. I checked size of the file thinking that maybe the app reserved only part of the space to start, but no, file size was full several GBs as shown in Nemo. I thought maybe I accidentally deleted more than expected, but after download
free showed almost no available memory. How can file system report sizeable object (file), but it does not take space?
The system is based on Ubuntu liveUSB, booted to RAM,
cow, therefore I hesitate to call it
tmpfs because I do not know startup scripts that well (and also not sure which tags to apply to the question). I can try to reproduce the issue on purely tmpfs drive if it matters to identify the cause. Oh, my problem - how can I trust information from various Linux utils if the info contradicts one another?