Because the current latest commit for dynswap.sh (d2c83bf) says fallocate -l 512M.
Problem is, I ran out of memory again when I updated Volumio. Couldn’t even check any logs for messages,
because Volumio couldn’t write any, the disk being out of space.
I went in, disabled swap and deleted the swapfile, otherwise nano would not have disk space to save
the edit to make dynswap.sh say fallocate -l 80M.
So that’s why I’m asking, was there a problem with that amount or what, because this broke for me.
So there is space on the SD card, it’s not about that. It’s the overlay file system that gets filled up by the swap file.
This is what it looks like with a smaller swap file:
For what it’s worth, I upgraded the Volumio yesterday to the latest build (02-03-2017) and there
was no problem with the swap file.
I can’t be arsed to adjust the size right now if only the swappiness setting makes it behave better,
but 512MB is way too much swap for a MicroSD and much more than Volumio requires. Can’t
help but wonder why the size was reverted to this much.
Anyway, considering this closed now, I’ll post something in a new thread if I start experiencing
swap-related deaths or any other issues.