Memory Usage

rbt rbt at athop1.ath.vt.edu
Mon Jan 24 10:07:44 EST 2005


Peter Hansen wrote:
> rbt wrote:
> 
>> Would a Python process consume more memory on a PC with lots of memory?
>>
>> For example, say I have the same Python script running on two WinXP 
>> computers that both have Python 2.4.0. One computer has 256 MB of Ram 
>> while the other has 2 GB of Ram. On the machine with less Ram, the 
>> process takes about 1 MB of Ram. On the machine with more Ram, it uses 
>> 9 MB of Ram.
>>
>> Is this normal and expected behavior?
> 
> 
> It's probably not normal if this is *really* the memory usage, but
> I would expect to see such behaviour, given how difficult it is
> to measure *actual* memory usage.  How are you measuring it?
> Just by looking at the Mem Usage column in the Task Manager?
> 
> -Peter

That's right. I look at that column. Should I measue mem usage in some 
other way?



More information about the Python-list mailing list