Published by expire0
Posted on June 03, 2011
The error :memory alloc (24 bytes) returned NULL
System: virtual, 512ram, centos 5.5 x64
Issue: The server does not have enough memory to run the current process. This happen to use when attempting to update using YUM.
Our solution was to reload the OS with ubuntu to take advantage of apt-get since Yum required at least 512 ram and we were running 512 on a virtual unit. Your other option is to upgrade the ram on the server to at least 1gb. If you have a VPS with true burstable ram , you should not encounter this issue.
Another option that you can do is setup swap storage on the drive to be used as memory.