Which will increase the size of the the tmpfs. The given size (400MB) here might need adjustments depending on how large the stuff is one wants to install. Having swap space might be required when the tmpfs goes beyond the size of RAM.
I put script before running yum to make sure that I have enough space. This script will also send me and email in case there is not enough space, from my condition, then I know that I need to do some thing if I want to get update.