I tested this on nix a couple times with larger free space requirement (400 GiB) and confirmed that it stops writing to disk when it detects that the remaining free space is below the limit. I decided to have it only check every 100th frame since that seems plenty often. Not sure if there's much overhead to calling statvfs but seemed silly to call it dozens of times per second.
I tested this on nix a couple times with larger free space requirement (400 GiB) and confirmed that it stops writing to disk when it detects that the remaining free space is below the limit. I decided to have it only check every 100th frame since that seems plenty often. Not sure if there's much overhead to calling statvfs but seemed silly to call it dozens of times per second.