Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: yum fails with memory alloc (8 bytes) returned NULL.  (Read 4693 times)

0 Members and 1 Guest are viewing this topic.

sajugovind

  • Guest
yum fails with memory alloc (8 bytes) returned NULL.
« on: October 20, 2014, 11:32:52 pm »
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,