64 bit memory usage

Benjamin Kaplan benjamin.kaplan at case.edu
Thu Dec 9 12:29:51 EST 2010


On Thursday, December 9, 2010, Rob Randall <rob.randall2 at gmail.com> wrote:
> But the C++ program using up memory does not slow up.
> It has gone to 40GB without much trouble.
>

Your C++ program probably doesn't have a garbage collector traversing
the entire allocated memory looking for reference cycles.

> Does anyone have a 64 bit python application that uses more the 2GB?
>
> On 9 December 2010 16:54, Antoine Pitrou <solipsis at pitrou.net> wrote:
> On Wed, 8 Dec 2010 14:44:30 +0000
> Rob Randall <rob.randall2 at gmail.com> wrote:
>> I am trying to understand how much memory is available to a 64 bit python
>> process running under Windows XP 64 bit.
>>
>> When I run tests just creating a series of large dictionaries containing
>> string keys and float values I do not seem to be able to grow the process
>> beyond the amount of RAM present.
>>
>> For example, on a box with 2GB RAM and 3 GB pagefile the process stalls at
>> around 2GB.
>>
>> On another machine with 16GB RAM and 24GB pagefile the process stalls at
>> 16GB.
>
> How is it surprising? When you go past the available RAM, your process
> starts swapping and everything becomes incredibly slower.
>
> Regards
>
> Antoine.
>
>
> --
> http://mail.python.org/mailman/listinfo/python-list
>
>



More information about the Python-list mailing list