A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2005-September/332730.html below:

Memory stats

Memory stats Memory statsTarek Ziadé tziade at nuxeo.com
Tue Sep 27 11:36:36 EDT 2005
Martin v. Löwis wrote:

>Tarek Ziadé wrote:
>  
>
>>I am trying to find a general memory profiler that can measure the
>>memory usage in Python program
>>and gather some stats about object usages, and things like that.
>>    
>>
>
>As Diez says, use gc: gc.getobjects() gives you all container objects.
>If you want a list of all objects (container or not), you have to
>compile a debug build of Python.
>
>Regards,
>Martin
>  
>
Ok thanks,
I am amazed not to find an existing implementation for this.

Regards
Tarek

-- 
Tarek Ziadé, Nuxeo R&D (Paris, France)
CPS Platform : http://www.cps-project.org
Zope3 / ECM   : http://www.z3lab.org
mail: tziade at nuxeo.com; tel: +33 (0) 6 30 37 02 63


More information about the Python-list mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4