Tarek Ziadé wrote:
> > If you want a list of all objects (container or not), you have to
> > compile a debug build of Python.
>
> I am amazed not to find an existing implementation for this.
the debug build is an existing implementation, of course.
--
http://mail.python.org/mailman/listinf
In message <[EMAIL PROTECTED]>, Tarek
Ziadé <[EMAIL PROTECTED]> writes
>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.
Not a Python module, but Python Memory Validator may fit the
gene tani wrote:
>linux:
>http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/286222
>
>
Yes thanks I have found this one, I need to try it out,
but it does not provide a way to refcount,
Another solution could be to use trace maybe
I am going to try things out
Regards
--
http://mail.py
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 objec
linux:
http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/286222
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 Di
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 (cont
Tarek Ziadé wrote:
> Hi list,
>
> 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.
>
> I am trying to find a simple python module to be able to customize it
> and integrates it to
Hi list,
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.
I am trying to find a simple python module to be able to customize it
and integrates it to other tools i have.
(it should exi