Several days ago I am having problem with updating one of my CentOS server.
No matter how big the memory, the problem still exists. So if you have this issues, try to run the following commands :
# yum clean all
# ulimit -v unlimited
# ulimit -m unlimited
# yum update
# yum upgrade
If the problem stay still, try to reboot the server, and re-run the command.
Don’t forget to make comment if your issue is solved 🙂