Red Hat Bugzilla – Bug 242105
Upgrade from fc6 needs lot's of memory. Swap not activated, so it fails
Last modified: 2007-11-30 17:12:05 EST
Description of problem:
During a FC6 upgrade to F7 anaconda is using +500Mb memory (even in text mode),
memory used is 1GB. I had to manually mount the swap partition to install as it
failed installing packages 'cause of "could not allocate memory"
Version-Release number of selected component (if applicable):
Fedora 7 X86_64 upgrade
on a HP Pavillion dv6022ea (amd Turion 64x2 1GB memory)
with this PC it failed every time. till I found the workaround of mountin swap
space I had manually with swapon /dev/xxxN
Steps to Reproduce:
1. Upgrade from fc6 (probably a lot of packages and some extra repos)
swapon resolves the problem, though it's a workaround. Upgrade takes really long
Installation uses much less memory
I also tried with noapic acpi=off and maxcpus=1 kernel params (which solved
hangs with fc6) but no results.
Can you provide /var/log/anaconda.log and the contents of /etc/fstab?
Created attachment 156125 [details]
This seems to have not been touched by the upgrade.
Created attachment 156126 [details]
I'm seeing this same problem as well on an old (~4 years) Sharp notebook, while
doing a text mode upgrade from FC6 to F7.
Not really anything we can do here. If you have a lot of packages installed as
well as a lot of third party RPMs, then depsolving is going to take a lot of
memory and a long time.
Sorry, but I have to disagree. While its true that nothing can be done by an
installer bug, once released, you could acknowledge that this is a QA hole that
should be fixed before the next release.
This issue really had nothing to do with depsolving taking alot of memory & a
long time, but rather that swap was never activated for some installations.