Python & 64-Bit Linux: Using >4 GB of Memory?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • metaglossary
    New Member
    • Apr 2007
    • 2

    #1

    Python & 64-Bit Linux: Using >4 GB of Memory?

    I'd like use more than 4 GB of memory for a single python process. Is this possible with a 64-bit processor? I'm using a Woodcrest processor, which I presume supports 64-bit addressing. I've installed the "hugemem" kernel distribute by Red Hat. Yet my Python processes get terminated upon using 4 GB of memory (system has 8 GB). What can be done?


    Below are some stats about the computer. Thank you for any help.



    Linux dev2.metaglossa ry.com 2.6.9-42.0.10.ELhugem em #1 SMP Fri Feb 16 17:30:23 EST 2007 i686 i686 i386 GNU/Linux

    [jeff@dev2 supporting]$ cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Xeon(R) CPU 5130 @ 2.00GHz
    stepping : 6
    cpu MHz : 1995.021
    cache size : 4096 KB
    ...<repeats 4 times, for each core>

    [jeff@dev2 supporting]$ python --version
    Python 2.5
  • bartonc
    Recognized Expert Expert
    • Sep 2006
    • 6478

    #2
    Originally posted by metaglossary
    I'd like use more than 4 GB of memory for a single python process. Is this possible with a 64-bit processor? I'm using a Woodcrest processor, which I presume supports 64-bit addressing. I've installed the "hugemem" kernel distribute by Red Hat. Yet my Python processes get terminated upon using 4 GB of memory (system has 8 GB). What can be done?


    Below are some stats about the computer. Thank you for any help.



    Linux dev2.metaglossa ry.com 2.6.9-42.0.10.ELhugem em #1 SMP Fri Feb 16 17:30:23 EST 2007 i686 i686 i386 GNU/Linux

    [jeff@dev2 supporting]$ cat /proc/cpuinfo
    processor : 0
    vendor_id : GenuineIntel
    cpu family : 6
    model : 15
    model name : Intel(R) Xeon(R) CPU 5130 @ 2.00GHz
    stepping : 6
    cpu MHz : 1995.021
    cache size : 4096 KB
    ...<repeats 4 times, for each core>

    [jeff@dev2 supporting]$ python --version
    Python 2.5
    Shouldn't get anywhere near that big. Did you compile a sub-version of Python 2.5 or get a distro from some place?

    Comment

    Working...