How to know if a Arduino has enough memory for a project

I have an old Mega and the last revision.
The reason i took the Nano for the bathroom was that i can solder him on a Stripboard.
Yes i saw there is a shield with screw terminals. But it costs money, you have to order
it and wait for another part and then i also have to solder the cables to the PCB/Stripboard
and then screw them to the shield.

Also with just plugging the cables in the shield headers (something i don't like for fixed installation)
it's a cable mess.