473,804 Members | 3,675 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

2 New Member
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
Apr 23 '07 #1
1 2169
bartonc
6,596 Recognized Expert Expert
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?
Apr 24 '07 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
2429
by: mikel | last post by:
Hello, I have several characters in my html code like / W and so on.... The problem is, tehy are converted in HTML in their approbiate characters like @ is @ and F is F But I DONT want to display the F or the @ I want to display on my site the &# codes like @
7
3334
by: brian.vincent | last post by:
I'm trying to use the ssh2 functions to run a graphical app. I have no problem opening ssh2_shell and running something like "/bin/ls /tmp". However when I try to do something like: fwrite($stdio,"/usr/X11R6/bin/xclock -display some-other-machine:0\n"); It doesn't work. I've tried wrapping the xclock command in a shell script and a C program and still no luck. In both instances I can ssh into the remote machine and run the commands...
1
11445
by: DrTebi | last post by:
Hello, I have the following problem: I used to "encode" my email address within links, in order to avoid (most) email spiders. So I had a link like this: <a href="mailto:DrTebi@yahoo.com">DrTebi</a> This would work like a regular mailto link in any browser, but wouldn't be visible to spiders if they don't have a function to decode it.
3
3200
by: Menu Chen | last post by:
我用LISTVIEW控件的时候,想限制用户对控件列大小的调节 但是找遍了LISTVIEW的属性,没有实现该功能的 另外,如果实在不能限制用户对列大小的调节的话,起码不要显示水平滚动 条,因为那会比较难看,可以吗?
17
6357
by: Jonathan Pritchard | last post by:
I know this is a simple problem, but I've just included this in the title because it explains what my program tries to do. The following does not work, it for someone reason does not want to place the values on a new line. ======================================================================= #include <stdio.h> #include <conio.h> int main(void)
0
9707
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9585
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10586
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10338
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10323
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10082
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9161
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5658
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4301
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.