Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: Memory Management, Debian or OpenSUSE11.1

  1. #1

    Cool Memory Management, Debian or OpenSUSE11.1

    I am trying to install atlas, hdf5 on my OpenSUSE partition. The process is aborted with the following message:
    virtual memory exhausted: cannot allocate memory
    Error during make of hdf5-1.6.7
    The same message appears with atlas

    The same computer has a Debian partition
    and on that partition the installation went smoothly, no error messages.
    Can anyone explain to me how could this situation be solved!
    Appreciate your help

  2. #2
    Join Date
    Jun 2008
    Location
    Germany
    Posts
    301

    Default Re: Memory Management, Debian or OpenSUSE11.1

    Hi,

    the error message indicates that you were running out of virtual memory. Because the virtual memory is made up of the swap space + main memory you can try to increase your swap space What is virtual memory?

    Hope this helps

  3. #3
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Memory Management, Debian or OpenSUSE11.1

    If you are already using a swap partition in your Debian installation, you may use the same partition for openSUSE too!
    This is because you are booted to only one of them at a time.

  4. #4

    Default Re: Memory Management, Debian or OpenSUSE11.1

    Quote Originally Posted by Monex View Post
    Hi,

    the error message indicates that you were running out of virtual memory. Because the virtual memory is made up of the swap space + main memory you can try to increase your swap space What is virtual memory?

    Hope this helps
    That was very helpful, now the question is how to increase the swap area.
    Can Yast do that?
    Could you guide me through this process, as you could imagine, I might destroy my installation
    Thanks again for your help

  5. #5

    Unhappy One More Time, Memory Management under OpenSUSE11.1

    I am trying to install hdf5 and med (I need to install an old version of hdf5 1.6.5 that is needed by med and the one available on the repository is very new for med) on my computer.
    The installation is terminated and the following message is issued:

    virtual memory exhausted: Cannot allocate memory
    make[2]: *** [tselect.lo] Error 1
    make[2]: Leaving directory `/home/ahmed/saturne/src/hdf5-1.6.5.build/arch/Linux/test'
    make[1]: *** [tests] Error 1
    make[1]: Leaving directory `/home/ahmed/saturne/src/hdf5-1.6.5.build/arch/Linux'
    make: *** [all] Error 2
    Error during make of hdf5-1.6.5

    I was told (in a previous post) to increase the swap area,
    I did that by adding 17GB swap file. tried the installation again, and again I received the same error message.

    Is there a way to solve this problem, I will appreciate a good advice,

    thank you for your time

    here is the information on the swap area, taken after the installation was aborted

    /saturne/Install # swapon -s
    Filename Type Size Used Priority
    /dev/sdc5 partition 2650684 248140 -1
    /home/extraswap file 16777208 0 -2

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,825
    Blog Entries
    15

    Default Re: One More Time, Memory Management under OpenSUSE11.1

    Quote Originally Posted by rhoahmed
    I am trying to install hdf5 and med (I need to install an old version of
    hdf5 1.6.5 that is needed by med and the one available on the repository
    is very new for med) on my computer.
    The installation is terminated and the following message is issued:

    virtual memory exhausted: Cannot allocate memory
    make[2]: *** [tselect.lo] Error 1
    make[2]: Leaving directory
    `/home/ahmed/saturne/src/hdf5-1.6.5.build/arch/Linux/test'
    make[1]: *** [tests] Error 1
    make[1]: Leaving directory
    `/home/ahmed/saturne/src/hdf5-1.6.5.build/arch/Linux'
    make: *** [all] Error 2
    Error during make of hdf5-1.6.5

    I was told (in a previous post) to increase the swap area,
    I did that by adding 17GB swap file. tried the installation again, and
    again I received the same error message.

    Is there a way to solve this problem, I will appreciate a good advice,


    thank you for your time

    here is the information on the swap area, taken after the installation
    was aborted

    /saturne/Install # swapon -s
    Filename Type Size Used
    Priority
    /dev/sdc5 partition 2650684 248140
    -1
    /home/extraswap file 16777208
    0 -2
    Hi
    Maybe this is of some help?
    <http://www.hdfgroup.org/HDF5/release/known_problems5165.html>

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 (i586) Kernel 2.6.27.19-3.2-pae
    up 0:12, 1 user, load average: 0.26, 0.37, 0.29
    ASUS eeePC 1000HE ATOM N280 1.66GHz | GPU Mobile 945GM/GMS/GME


  7. #7

    Question Re: One More Time, Memory Management under OpenSUSE11.1

    Hello there
    I appreciate your prompt reply.
    well this article is about problems related to installing hdfView, which I am not installing, I am trying to install just hdf5 (1.6.5)
    Then you have the error message

    virtual memory exhausted: Cannot allocate memory

    and the swapon -s command informs me that

    Filename Type Size Used Priority
    /dev/sdc5 partition 2650684 189928 -1
    /home/extraswap file 16777208 0 -2
    even the original swap is not used entirely (just around 7% used)

    Then, even if it is something related to the linux kernel/hdf5,
    I need to tell you that my computer has a Debian (etchnhalf, 2.6.24) partition and the installation on it went very smoothly, not a single error.

    Look, I am not a Linux expert, I am just transmitting to you my observations and I believe it is memory management (The error message).
    Please I need a good advice to solve this situation.
    Appreciate your previous answers to my Linux experience and waiting for a good one this time.

  8. #8
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: Memory Management, Debian or OpenSUSE11.1

    You can either use a file or a device partition. You start with a file and later switch to a device partition.
    Commands are simple: swapon, swapoff.
    Please see:
    Code:
    man swapon

  9. #9
    Join Date
    Sep 2008
    Location
    Dubai
    Posts
    1,770

    Default Re: One More Time, Memory Management under OpenSUSE11.1

    It looks like you have already configured much more memory than needed by most of the programs. There is something wrong somewhere else. I don't think it is just the memory. May be some make scripts have recursive calls and running out of memory.

  10. #10
    Join Date
    Jan 2008
    Location
    U.K East Anglia
    Posts
    2,581

    Default Re: Memory Management, Debian or OpenSUSE11.1

    Topics merged as they are about the same thing,by the same person

    Andy
    To be is to do = Immanuel Kant
    To do is to be = Descartes.
    Do be do be do = Frank Sinatra

    SuSE user since 7.0,Linux user since 1994

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •