memory usage, temporary and otherwise

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Wed Mar 3 16:47:55 EST 2010


Bruno Desthuilliers a écrit :
> mk a écrit :
(snip)
>> So sys.getsizeof returns some 200MB for this dictionary. But according
>> to top RSS of the python process is 300MB. ps auxw says the same thing
>> (more or less).
>>
>> Why the 50% overhead? 

Oh, and yes - the interpreter itself, the builtins, and all imported
modules also eat some space...

(snip)



More information about the Python-list mailing list