Re: How to measure memory footprint of Python objects?

2006-09-20 Thread AdrianNg3
Paul Rubin wrote: > See the docs for the gc module. This is the first place I've checked. I see no useful info there about the actual size of the objects (bytes occupied in memeory). The closest thing to what I need is get_objects( ). Then I have to go over the list and do something with the obje

Re: How to measure memory footprint of Python objects?

2006-09-20 Thread AdrianNg3
Fredrik Lundh wrote: > Neagu, Adrian wrote: > > > I have a python program that takes a lot of memory (>hundred Mb). > > > I can see the total process size of the Python process (Task manager on MS > > Win or Unix "ps" command) but that is not precise enough for me > > I'm not sure those two stateme