473,802 Members | 2,384 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

upper memory limit

There is an upper memory limit in Python?
I have 2GB RAM and 2 processors Xeon 2.4 - (Windows XP), but I just can use
1.2G of memory, after this python crashes.
Does someone know if python has some memory limit?


_______________ _______________ _______________ __________
Yahoo! Acesso Grátis - navegue de graça com conexão de qualidade! Acesse: http://br.acesso.yahoo.com/
Jul 18 '05 #1
4 10307
Leandro <le************ *@yahoo.com> writes:
There is an upper memory limit in Python?
I have 2GB RAM and 2 processors Xeon 2.4 - (Windows XP), but I just can use
1.2G of memory, after this python crashes.
Does someone know if python has some memory limit?


Not deliberately :-) What are you filling all that memory with? What
does "crash" mean? MemoryError, or something more exciting?

Cheers,
mwh

--
... when all the programmes on all the channels actually were made
by actors with cleft pallettes speaking lines by dyslexic writers
filmed by blind cameramen instead of merely seeming like that, it
somehow made the whole thing more worthwhile. -- HHGTG, Episode 11
Jul 18 '05 #2
Leandro <le************ *@yahoo.com> wrote:
There is an upper memory limit in Python?
I have 2GB RAM and 2 processors Xeon 2.4 - (Windows XP), but I just can use
1.2G of memory, after this python crashes.
Does someone know if python has some memory limit?


You might be surprised to learn that the amount of memory available to a
single process is (almost) completely unrelated to the amount of physical
memory in the machine. Windows is a virtual memory system.

A single process in Windows is limited to 2GB of address space. Part of
that is occupied by the Python executable, your DLLs, and the system DLLs.

1.2GB seems a litle low, but it is not entirely unreasonable.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Jul 18 '05 #3
Why do you say that single process is limited to 2 Gig? I believe that on
windows a single process can run with to 32 bits addressed or 4 Gig of
space. I have run R with over 2 Gig of memory.

Why would python be limited to 2 Gig (including overhead)? I don't see that
python should be any different.

Peter

At 01:16 AM 8/8/2004, Tim Roberts wrote:
Leandro <le************ *@yahoo.com> wrote:
There is an upper memory limit in Python?
I have 2GB RAM and 2 processors Xeon 2.4 - (Windows XP), but I just can use
1.2G of memory, after this python crashes.
Does someone know if python has some memory limit?


You might be surprised to learn that the amount of memory available to a
single process is (almost) completely unrelated to the amount of physical
memory in the machine. Windows is a virtual memory system.

A single process in Windows is limited to 2GB of address space. Part of
that is occupied by the Python executable, your DLLs, and the system DLLs.

1.2GB seems a litle low, but it is not entirely unreasonable.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
--
http://mail.python.org/mailman/listinfo/python-list


Jul 18 '05 #4
Peter Wilkinson <pw********@vid eotron.ca> wrote:

Why do you say that single process is limited to 2 Gig? I believe that on
windows a single process can run with to 32 bits addressed or 4 Gig of
space. I have run R with over 2 Gig of memory.

Why would python be limited to 2 Gig (including overhead)? I don't see that
python should be any different.


(I responded privately, but thought I should register the answer here,
too.)

No, a user-mode process in Windows is limited to 2GB of address space.
Addresses 80000000 and larger are kernel space. You can change the
threshhold to 3GB by using the /3gb boot.ini switch, but few do so.

You can certainly have more than 2GB of physical RAM in your machine, but a
single process cannot use more than 2GB at a time.
--
- Tim Roberts, ti**@probo.com
Providenza & Boekelheide, Inc.
Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
5338
by: CajunCoiler \(http://www.cajuncoiler.tk\) | last post by:
I've seen no reference to this in the MSDN library, so I ask here... what is the known upper limit for the RichTextbox control? And when this limit is exceeded, what error is generated?
1
1422
by: DW | last post by:
Hi, all: I'd heard that the upper row limit in SQL of 6080 bytes may have been increased with SP3. Can anyone confirm/deny this? Is this still a 'carved-in-stone' upper cap? Thanks,
4
3081
by: Quentin Huo | last post by:
Hi: I need make a calculation from database and the result may have 20,000,000 records which format is just a string. Can I add them into an ArrayList object one by one? Is there any upper limitation on ArrayList object? Even there is no limit, I don't think this is not a good solution. It must take much memory. Any suggestion? Thanks
3
2040
by: Amy | last post by:
Is there an upper limit to how many Session variables you can transfer? I'm working on a utility application that passes info from a web form into a pdf. There's no database access, so I'm using Session variables, but it's going to end up being a lot of data. Is this the best way to do it, or is there a better way? --Amy
3
3151
by: sadanjan | last post by:
Hi , Appreciate if someone can clarify if database Share Memory Limit (2 GB ) in Unix 32 bit boxes is the top limit for all the databases put together in a database or is it for each of the database in an Instance Thanks & regards sadanjan
1
2691
by: =?Utf-8?B?TWFyY28gU2VsbGFuaQ==?= | last post by:
I need an information. I've a ASP.NET web application on windows2003r2 server with IIS 6. In framework 1.0 memory limit for a worker process is 800MB; in framework 1.1 the limit is 1600MB with /3GB option. This is Right?? Which is the limit for framework 2.0 and how can i monitor it (which
17
8490
by: frederic.pica | last post by:
Greets, I've some troubles getting my memory freed by python, how can I force it to release the memory ? I've tried del and gc.collect() with no success. Here is a code sample, parsing an XML file under linux python 2.4 (same problem with windows 2.5, tried with the first example) : #Python interpreter memory usage : 1.1 Mb private, 1.4 Mb shared #Using http://www.pixelbeat.org/scripts/ps_mem.py to get memory information
2
3229
by: D. Susman | last post by:
Hi, I know that this issue is indeed strictly operating system dependent but I am just curious: I have a five dimensional array, whose size sums to 68 MB (almost). This array is contained by class X. When I simply attempt to create an instance of that class, I get segmentation fault. I am working on Solaris (which has 8 KB pages ). What may the case be?
5
12650
by: Max2006 | last post by:
Hi, What is the limit for memory that a .NET process or AppDomain can use? Thank you, Max
0
9558
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
10527
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
10300
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
10279
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,...
1
7595
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6834
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4267
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
3
2963
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.