Object cleanup

Oscar Benjamin oscar.j.benjamin at gmail.com
Thu May 31 08:59:45 EDT 2012


On 31 May 2012 11:57, psaffrey at googlemail.com <psaffrey at googlemail.com>wrote:

> Thanks for all the responses.
>
> It looks like none of the BeautifulSoup objects have __del__ methods, so I
> don't think that can be the problem.
>
> To answer your other question, guppy was the best match I came up with
> when looking for a memory profile for Python (or more specifically "Heapy"):
>
> http://guppy-pe.sourceforge.net/#Heapy
>
> On Thursday, May 31, 2012 2:51:52 AM UTC+1, Steven D'Aprano wrote:
> >
> > The destructor doesn't get called into the last reference is gone.
> >
>
> That makes sense, so now I need to track down why there are references to
> the object when I don't think there should be. Are there any systematic
> methods for doing this?
>

http://mg.pov.lt/blog/hunting-python-memleaks.html

http://pypi.python.org/pypi/objgraph



>
> Peter
> --
> http://mail.python.org/mailman/listinfo/python-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20120531/7c320ba6/attachment.html>


More information about the Python-list mailing list