Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder7.xlned.com!newsfeed.xs4all.nl!newsfeed1a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Windows': 0.02; 'subject:Python': 0.06; 'expected.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'python': 0.11; 'jan': 0.12; 'windows': 0.15; 'pointers,': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'reedy': 0.16; 'subject: \n ': 0.16; 'subject:between': 0.16; 'subject:bit': 0.16; 'wrote:': 0.18; 'bit': 0.19; '>>>': 0.22; 'install': 0.23; 'header:User- Agent:1': 0.23; 'header:X-Complaints-To:1': 0.27; 'header:In- Reply-To:1': 0.27; 'am,': 0.29; 'subject:the': 0.34; 'version': 0.36; 'ram': 0.36; 'possible': 0.36; 'subject:?': 0.36; 'hi,': 0.36; 'skip:[ 10': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'gone': 0.61; 'received:173': 0.61; 'yourself': 0.78; '3.4': 0.84; 'received:fios.verizon.net': 0.84; 'absolutely': 0.87 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Terry Reedy Subject: Re: What is the difference between 32 and 64 bit Python on Windows 7 64 bit? Date: Sun, 11 May 2014 05:36:49 -0400 References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: pool-173-75-254-207.phlapa.fios.verizon.net User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 22 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1399801030 news.xs4all.nl 2859 [2001:888:2000:d::a6]:55101 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:71311 On 5/11/2014 2:56 AM, Ross Gayler wrote: > Hi, > > I want to install Python on a PC with 16GB of RAM and the 64 bit version > of Windows 7. > I want Python to be able to use as much as possible of the RAM. > > When I install the 64 bit version of Python I find that sys.maxint == > 2**31 - 1 Since sys.maxint is gone in 3.x, you must be using some version of 2.x. Do yourself a favor and install 3.4 unless you absolutely need 2.x. With 3.4: >>> a = [None]*1000000000 >>> sys.getsizeof(a) 8000000064 That is 1000000000 8-byte pointers, as I expected. -- Terry Jan Reedy