Bug 484221 - Error running ***: Cannot allocate memory
Summary: Error running ***: Cannot allocate memory
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: anaconda
Version: 5.3
Hardware: All
OS: Linux
low
medium
Target Milestone: rc
: ---
Assignee: Anaconda Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-02-05 15:24 UTC by Karel Volný
Modified: 2010-02-12 20:16 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-02-12 20:16:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
anaconda dump (52.40 KB, application/x-bzip2)
2009-02-05 15:24 UTC, Karel Volný
no flags Details

Description Karel Volný 2009-02-05 15:24:30 UTC
Created attachment 330995 [details]
anaconda dump

Description of problem:
It looks like the installation eats up too much memory. The installation fails after installing the packages. See the attached log.

Version-Release number of selected component (if applicable):
RHEL5.3-Server-20090106.0-x86_64-DVD.iso

How reproducible:
always

Steps to Reproduce:
1. Try to install RHEL 5.3 on machine (virtual guest) with 512 MiB RAM.
2. During partitioning, select Create custom layout.
3. Do not create swap partition.

Actual results:
installation fails

Expected results:
system installed without any problems

Additional info:
https://www.redhat.com/rhel/compare/ says that the 512 MB RAM fits the minimal requirements for AMD64 (= x86_64)

http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/5/html/Installation_Guide/ch04s18s04s02.html says that a swap partition is recommended, not mandatory. Even if we would agree to the premise that swap is really needed, it makes sense not to require swap partition, as you may use a swapfile instead (which can - and most probably would - be done later, and thus the installer cannot rely on it).

Comment 1 Aditya Khune 2009-07-26 17:53:29 UTC
After creating boot partition a small space of 2 MB is automatically gets created and then it says can not allocate memory for root partition as space for allocation is not sufficient though there is enough space for root partition.

Comment 2 Chris Lumens 2010-02-12 20:16:51 UTC
I don't know that there's really all that much we can do, unfortunately.  The number of components that anaconda uses is really quite extensive and becoming moreso all the time, making it difficult to figure out where the memory work needs to be done.  It's likely to be yum in this instance, but that's not always easy to pinpoint.

yum is constantly working on performance enhancements.  We've made some changes in RHEL6/rawhide anaconda to store the install image where it won't consume so much memory.  However, none of those fixes are good backport candidates.  My only real advise is that if you've got the recommended amount of memory and are still seeing memory-related problems, go with a swap partition and anaconda will make use of that as soon as it's formatted.


Note You need to log in before you can comment on or make changes to this bug.