yum causes out of memory error

Posted on 2005-05-02
Last Modified: 2013-12-06
I've been trying to update my linux box for 3 days now!!!  up2date in the taskbar says there are 335 updates.  I ran up2date many times with various errors.  I read that yum is better for Fedora Core 3 (which i'm running).  So, I typed yum -y update.  It took about 2 hours to download all the updates over dsl.  Then proceeded to run a transaction test?  That went for hours.  I fell asleep and woke up to an out of memory error and the process had been killed.  How do I update FC3 on an AMD64 with 512mb of RAM.  Yes, I've modified the yum.conf to point to the approriiate a64 directories of the repository.  
Question by:turtletimer
    LVL 87

    Accepted Solution

    As far as I know there shouldn't be too much of a problem. Do you have enough free diskspace in your /tmp, /var and most other folders? If there are so many updates, you may have run out of space? You could also try doing less updates at on time. This is probably easier with up2date, as you can select the programs. Try just selecting a bunch of 10 per run...
    LVL 2

    Assisted Solution


    the most likely issue is the huge number of updates. rpm tries to set up required packages to be updated by checking database and downloaded updates.

    try having fewer updates at a time.

    if you have not enabled swap then enable swap also just to get more memory.

    keep the system idle during this period, kill all memory consuming process (X, mozilla, Openoffice etc)

    then try your luck

    Hope this helps,
    LVL 2

    Assisted Solution


    alternatively you can use --exclude option in yum to exclude single or bunch of packages to be installed.


    Featured Post

    What Is Threat Intelligence?

    Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

    Join & Write a Comment

    You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
    Join Greg Farro and Ethan Banks from Packet Pushers ( and Greg Ross from Paessler ( for a discussion about smart network …
    Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    21 Experts available now in Live!

    Get 1:1 Help Now