Yes, that’s why I assumed that checking available RAM is not needed. RAM mostly stays the same after installation. But available disk space tends to get smaller with time. I ran into problems with other systems several times which root cause was that the system had no free disk space remaining. So that would be worth checking.
I will create a PR.