Memory Error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sangeeth
    New Member
    • Dec 2006
    • 23

    Memory Error

    python version 2.4.3
    os - linux fc-4

    I have a program which creates a lot of hashes and not make optimum use of memory..
    I ran this program on a machine with below memory

    Mem: 9183196k total, 6580616k used, 2602580k free, 1684584k buffers
    Swap: 19070968k total, 0k used, 19070968k free, 1502236k cached

    I was monitoring memory usage by top command while my program was running.

    The memory used was growing steadily and at 11.3% memory usage the program stopped abnormally with MemoryError

    Can anyone help me and say the reason for memory error even when so much of memory was free.
    Is there some limit on main memory per user?
    Although no other user was using the system . .my process was the lone one running and using memory..

    Please help.. I am shocked by this
  • ghostdog74
    Recognized Expert Contributor
    • Apr 2006
    • 511

    #2
    Originally posted by sangeeth
    python version 2.4.3
    os - linux fc-4

    I have a program which creates a lot of hashes and not make optimum use of memory..
    I ran this program on a machine with below memory

    Mem: 9183196k total, 6580616k used, 2602580k free, 1684584k buffers
    Swap: 19070968k total, 0k used, 19070968k free, 1502236k cached

    I was monitoring memory usage by top command while my program was running.

    The memory used was growing steadily and at 11.3% memory usage the program stopped abnormally with MemoryError

    Can anyone help me and say the reason for memory error even when so much of memory was free.
    Is there some limit on main memory per user?
    Although no other user was using the system . .my process was the lone one running and using memory..

    Please help.. I am shocked by this
    most of the time,things like this happens at the code. so pls show your code.

    Comment

    • sangeeth
      New Member
      • Dec 2006
      • 23

      #3
      nothing is wrong with code as the same code ran fine on another system

      Can u please tell me if main memory limit can be set for a user?
      Or is there any general explanation for the breakage of my process..maybe python's limitation etc

      Comment

      Working...