If you are facing issue with yum update or yum install that looks like this:
Total 5.3 MB/s | 23 MB 00:04
Running rpm_check_debug
Running Transaction Test
memory alloc (8 bytes) returned NULL.
The most likely reason — ulimits are limiting amount of virtual memory for the yum process.
To verify that, run:
# ulimit -a
And check max memory size (kbytes, -m) and virtual memory (kbytes, -v). yum might need 1GB or more to process transaction with lots of files. Try running:
# ulimit -m unlimited
# ulimit -v unlimited
And then re-running yum again
Thank you,