[Python] Python 32-bit on Windows 64-bit
Michel Claveau - MVP
Feb 11, 2011 at 7:07 pm
Python 32 bits (& Pywin32) limits are:
2 GB on win.7_32 bits
4 GB on win.7_64 bits
That's what I found in my tests.
: what kind of memory limitations to processes running on 32-bit python (with 32-bit C extensions like scipy) have on 64-bit Windows? I'm having occasional MemoryErrors when running a python program on 64-bit Windows 7 that runs fine on my OS X machine. Both machines are using a 64-bit OS and have 4GB of RAM. Thanks, -Craig
Martin v. Loewis
: In addition to the limitations Michel reports: on a 32-bit system, objects are typically limited to using at most 2GiB, per object (of course, you could have at most two objects that come close to this size, since the whole address space would not be larger than 4GiB). Regards, Martin
: IIRC, 32-bit Windows programs are limited to 2GiB, reserving the rest of the virtual address space for Windows' own use. Also, 32-bit apps remain 32-bit, even if they're running on a 64-bit capable OS. Assuming you're running Snow Leopard on your Mac, you're using a 64-bit Python interpreter *and* a 64-bit OS. You need to have both to take advantage of a 64-bit memory space. sherm-- -- Sherm Pendley Cocoa Developer
CTypes, 64 bit windows, 32 bit dll
What Does sys.platform Return On 64 Bit Windows Systems?
idiom to ask if you are on 32 or 64 bit linux platform?
64 bit memory usage
Installing pysqlite on Win64
Python for 64bit Linux version
determine 32 or 64 bit architecture with python 2.2
64 bit python binaries (or builds) for Xeon and Opteron architectures on Windows platforms
Python on Itanium Windows 64: available or planned?
setuptools for 64-bit 2.7.1 on 64-bit Windows 7?
2 of 5
Feb 11, '11 at 6:41p
Feb 12, '11 at 12:27a
5 users in discussion
Michel Claveau - MVP (1)
Sherm Pendley (1)
Craig Yoshida (1)
Martin v. Loewis (1)
Groups & Organizations
site design / logo © 2022 Grokbase